On Fri, Mar 11, 2022 at 3:52 PM Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> wrote: > Commit 3d4d1266597c ("mfd: ab8500: Drop debugfs module") removes the config > AB8500_DEBUG in drivers/mfd/Kconfig, but missed a reference to this config > in include/linux/mfd/abx500/ab8500.h. > > The functions ab8500_dump_all_banks() and ab8500_debug_register_interrupt() > in the ab8500 header, previously with definitions conditioned on > AB8500_DEBUG, are now completely needless to define and handle at all. > > The function ab8500_debug_register_interrupt() is not used at all and can > just be removed. > > The function ab8500_dump_all_banks() is just registered in the abx500_ops > struct in the dump_all_banks field, but this is then not further referenced > anywhere else at all. So, safely drop the dump_all_banks field from > abx500_ops and delete the ab8500_dump_all_banks() definition. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> > --- > Linus, Lee, please pick this clean-up on top of the commit above. With Lee's requested one-character fix: Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij