Skip to content
Commit 271afb4c authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Brian Norris
Browse files

mtd: maps: sa1100-flash: remove incorrect __exit markups



Even if bus is not hot-pluggable, the 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: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 318157ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment