]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bus: mhi: ep: Use bus callbacks for .probe() and .remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Thu, 18 Dec 2025 20:42:16 +0000 (21:42 +0100)
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Wed, 31 Dec 2025 10:57:13 +0000 (16:27 +0530)
commit91a0b0dce350766675961892ba4431363c4e29f7
tree4e86432524ea4cd706ae101c63b937a3ad005261
parent8535df5dd64ec02d85e65dbcf79a59db9c16d921
bus: mhi: ep: Use bus callbacks for .probe() and .remove()

These are nearly identical to the driver callbacks, the only relevant
difference is that the bus remove method returns void (instead of an int
where the value is ignored).

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

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Link: https://patch.msgid.link/2a79d99182a5171e83a07bf9f438ae31362f7e5d.1766090211.git.ukleinek@kernel.org
drivers/bus/mhi/ep/main.c