]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: tps65912: Use devm helper functions to simplify probe
authorAndrew Davis <afd@ti.com>
Thu, 13 Jun 2024 17:54:30 +0000 (12:54 -0500)
committerLee Jones <lee@kernel.org>
Thu, 4 Jul 2024 16:38:40 +0000 (17:38 +0100)
commit13c151a919a876521c16810756764aa38683eb62
tree4cc61daedfae0204688ecb77d3092e0e31de139a
parent0ddabc8c6e80d06b02794d818a36d7b6c16d4c66
mfd: tps65912: Use devm helper functions to simplify probe

This simplifies probe and also allows us to remove the remove
callbacks from the core and interface drivers. Do that here.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240613175430.57698-1-afd@ti.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/tps65912-core.c
drivers/mfd/tps65912-i2c.c
drivers/mfd/tps65912-spi.c
include/linux/mfd/tps65912.h