]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: stub: Drop empty probe function
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Wed, 10 Dec 2025 07:02:53 +0000 (08:02 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 17 Dec 2025 09:15:07 +0000 (10:15 +0100)
commit30eb99dfd3439f25d0f79815f7f859da03fc8fff
treef746ac54e73d3c058a3abb5607de9cd57234a2a9
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
gpio: stub: Drop empty probe function

A probe callback that just returns 0 does the same as not having a probe
callback at all. So gpio_stub_drv_probe() can be dropped without side
effects.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20251210070255.484169-2-u.kleine-koenig@baylibre.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpiolib.c