mfd: mt6397: Fix probe after changing mt6397-core
authorFrank Wunderlich <frank-w@public-files.de>
Thu, 3 Oct 2019 18:53:23 +0000 (20:53 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 24 Oct 2019 07:49:25 +0000 (08:49 +0100)
commit603d9299da32955d49995738541f750f2ae74839
tree3ed16f6c26fdf6d5b44fc240a332a886b3a73ed1
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
mfd: mt6397: Fix probe after changing mt6397-core

Part 3 from this series [1] was not merged due to wrong splitting
and breaks mt6323 pmic on bananapi-r2

dmesg prints this line and at least switch is not initialized on bananapi-r2

mt6397 1000d000.pwrap:mt6323: unsupported chip: 0x0

this patch contains only the probe-changes and chip_data structs
from original part 3 by Hsin-Hsiung Wang

[1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=164155

Fixes: a4872e80ce7d ("mfd: mt6397: Extract IRQ related code from core driver")
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mt6397-core.c