]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bus: mhi: host: Use bus callbacks for .probe() and .remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Thu, 18 Dec 2025 20:42:15 +0000 (21:42 +0100)
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Wed, 31 Dec 2025 10:57:13 +0000 (16:27 +0530)
commit8535df5dd64ec02d85e65dbcf79a59db9c16d921
treeeddbeb2f9682a0a77fb52ccfe564335758722bb7
parent4a9ba211d0264131dcfca0cbc10bff5ff277ff0a
bus: mhi: host: 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/e8032b3c2a8953a4a2b84dfa79a260c35f1d71b7.1766090211.git.ukleinek@kernel.org
drivers/bus/mhi/host/init.c