soc: mediatek: mtk-svs: improve readability of platform_probe
authorMatthias Brugger <matthias.bgg@gmail.com>
Wed, 11 Jan 2023 07:45:23 +0000 (15:45 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 31 Jan 2023 13:24:38 +0000 (14:24 +0100)
commit227fafd73b1c1f67114da6322fc32cb545b3a20b
tree68e33f9736c8812cf12c793c0ff2244c6b7db0fc
parent3bab727bef488c3a8da281ae4f89fd5070e37559
soc: mediatek: mtk-svs: improve readability of platform_probe

If a compatible misses a match data entry, then something is wrong in
the development phase, we don't need to check for that at runtime.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Roger Lu <roger.lu@mediatek.com>
Link: https://lore.kernel.org/r/20230111074528.29354-10-roger.lu@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-svs.c