]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/ap: wire up bus->probe and bus->remove
authorJulian Wiedmann <jwi@linux.ibm.com>
Fri, 16 Apr 2021 10:46:27 +0000 (12:46 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 26 May 2021 21:18:18 +0000 (23:18 +0200)
commit556c93b623d5ad9c27fc9ff3933d2a7bfdb95ae1
tree91e8c24ca0b82f5c406b7d3568cc96d28dc6d088
parent7145132ee964b6d22afa42f7333f4094cc78f77d
s390/ap: wire up bus->probe and bus->remove

Hijacking the device_driver's probe/remove callbacks for purely
bus-internal logic is a very unconvential construct. Instead just set
up our callbacks in the AP bus struct, and really_probe() will call them
in the same way as before.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/ap_bus.c