soc: mediatek: mtk-svs: use svs get efuse common function
authorRoger Lu <roger.lu@mediatek.com>
Thu, 2 Feb 2023 12:41:02 +0000 (20:41 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 6 Mar 2023 13:35:44 +0000 (14:35 +0100)
commit9f195f3a1e696b6576988c1e58fa7389beae3351
treeabd254c642cc162889897e56a6b1e6ad0d393c10
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
soc: mediatek: mtk-svs: use svs get efuse common function

SVS might need to read both svs efuse and thermal efuse on the probe flow.
Therefore, add a common efuse read function to remove the superfluous
codes.

Signed-off-by: Roger Lu <roger.lu@mediatek.com>
Link: https://lore.kernel.org/r/20230202124104.16504-2-roger.lu@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-svs.c