mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
Even if bus is not hot-pluggable, devices can be unbound from the driver via sysfs, so we should not be using __exit annotations on remove() methods. The only exception is drivers registered with platform_driver_probe() which specifically disables sysfs bind/unbind attributes. Signed-off-by: Dmitry Torokhov <[email protected]> Cc: Antonino Daplas <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>