]> asedeno.scripts.mit.edu Git - linux.git/commit
soc: mediatek: reduce code duplication of scpsys_probe across all SoCs
authorSean Wang <sean.wang@mediatek.com>
Mon, 7 Aug 2017 07:24:35 +0000 (15:24 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 14 Aug 2017 15:28:27 +0000 (17:28 +0200)
commit53fddb1a66ddf07774e46e220be410acbf6f3557
tree52c000467ee182c0584c4f8c1d98e031b7ba73d7
parent96e1324a559b9475c3165103aedf1ff1c3758c92
soc: mediatek: reduce code duplication of scpsys_probe across all SoCs

Reduce code duplication of scpsys_probe_mtXXXX across all SoCs using
the more generic scpsys_probe all covering all cases to avoid starting
to bloat the driver when more MediaTek SoCs supported are added.

Suggested-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-scpsys.c