aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ts5500.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-10-14 09:22:26 +0000
committerBartosz Golaszewski <[email protected]>2024-10-17 06:53:49 +0000
commit3bd13ae04ccc20e3a312596f89a269b8b6416dca (patch)
tree935d5d4055c02e31ee31819bdfe59273f94d99dd /drivers/gpio/gpio-ts5500.c
parentgpio: amdpt: remove remove() (diff)
downloadkernel-3bd13ae04ccc20e3a312596f89a269b8b6416dca.tar.gz
kernel-3bd13ae04ccc20e3a312596f89a269b8b6416dca.zip
gpio: menz127: simplify error path and remove remove()
Use devres to drop all goto labels from probe() and remove the driver remove() callback. While at it: drop the unnecessary dev_info() message as not only should the driver be quiet when successful, the message is also wrong: the device was probed at this point, the driver had been registered earlier. Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-ts5500.c')
0 files changed, 0 insertions, 0 deletions