summaryrefslogtreecommitdiff
path: root/samples/kobject
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2021-05-17 13:51:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 17:10:49 +0300
commit2d2842f5d2cd11fed2d0c1f0574508cfc6b51468 (patch)
tree2dd5214440a3b40982ee8e8f37996c5581119233 /samples/kobject
parentc5b104a27028574dbffeaef3f05afc59d59e81a6 (diff)
downloadlinux-2d2842f5d2cd11fed2d0c1f0574508cfc6b51468.tar.xz
power: supply: rt5033_battery: Fix device tree enumeration
[ Upstream commit f3076cd8d1d5fa64b5e1fa5affc045c2fc123baa ] The fuel gauge in the RT5033 PMIC has its own I2C bus and interrupt line. Therefore, it is not actually part of the RT5033 MFD and needs its own of_match_table to probe properly. Also, given that it's independent of the MFD, there is actually no need to make the Kconfig depend on MFD_RT5033. Although the driver uses the shared <linux/mfd/rt5033.h> header, there is no compile or runtime dependency on the RT5033 MFD driver. Cc: Beomho Seo <beomho.seo@samsung.com> Cc: Chanwoo Choi <cw00.choi@samsung.com> Fixes: b847dd96e659 ("power: rt5033_battery: Add RT5033 Fuel gauge device driver") Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions