summaryrefslogtreecommitdiff
path: root/Documentation/mic
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-02-19 09:44:12 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2016-04-20 13:03:04 +0200
commit25269cefb691d324a3fe2be4d2a7b81f6a733996 (patch)
treeb054e69dc4e12ea5ed014c1435412d408211240c /Documentation/mic
parent95b25c589158d97fbc6d5504b434aef263798fa7 (diff)
soc: mediatek: PMIC wrap: remove pwrap_is_mt8135() and pwrap_is_mt8173()
With more SoCs being added the list of helper functions like these would grow. To mitigate this problem we remove the existing helpers and change the code to test against the pmic type stored inside the pmic specific datastructure that our context structure points at. There is one usage of pwrap_is_mt8135() that is ambiguous as the test should not be dependent on mt8135, but rather on the existence of a bridge. Add a new element to pmic_wrapper_type to indicate if a bridge is present and use this where appropriate. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'Documentation/mic')
0 files changed, 0 insertions, 0 deletions