diff options
| author | Bartosz Golaszewski <[email protected]> | 2024-10-14 09:22:26 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2024-10-17 06:53:49 +0000 |
| commit | 3bd13ae04ccc20e3a312596f89a269b8b6416dca (patch) | |
| tree | 935d5d4055c02e31ee31819bdfe59273f94d99dd /drivers/gpio/gpio-rcar.c | |
| parent | gpio: amdpt: remove remove() (diff) | |
| download | kernel-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-rcar.c')
0 files changed, 0 insertions, 0 deletions
