diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-10-14 12:22:26 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-10-17 09:53:49 +0300 |
| commit | 3bd13ae04ccc20e3a312596f89a269b8b6416dca (patch) | |
| tree | 935d5d4055c02e31ee31819bdfe59273f94d99dd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9a94580120bff8040e84e2d500f8f462f8704dc5 (diff) | |
| download | linux-3bd13ae04ccc20e3a312596f89a269b8b6416dca.tar.xz | |
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 <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241014092227.78886-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
