]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
greybus: Use bus methods for .probe() and .remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tue, 13 Jan 2026 14:50:09 +0000 (15:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 15:32:03 +0000 (16:32 +0100)
commit986d388e6779800080d13b555c9aaf6900614387
treecc4a9af73591eb2ada0997192bce4277ee3412a3
parentb89921eed8cf2d97250bac4be38dbcfbf048b586
greybus: Use bus methods for .probe() and .remove()

These are nearly identical to the respective driver callbacks. The only
difference is that .remove() returns void instead of int.

The objective is to get rid of users of struct device_driver callbacks
.probe() and .remove() to eventually remove these.

Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20260113145012.2379944-2-u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/greybus/core.c