soc: mediatek: mtk-svs: delete node name check
authorMatthias Brugger <matthias.bgg@gmail.com>
Thu, 9 Feb 2023 16:24:03 +0000 (17:24 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 6 Mar 2023 13:35:45 +0000 (14:35 +0100)
commit2ba4e3bd65213f3eae75fcd316ae38d4286d333e
tree38a71b3659685653efcc7eff8c87f713ea60f2eb
parent549053b69c54aecc6f44ddefe6c245a35f162cf4
soc: mediatek: mtk-svs: delete node name check

The function  svs_add_device_link is called only internally from the SoC
specific probe functions. We don't need to check if the node_name is
null because that would mean that we have a buggy SoC probe function in
the first place.

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