mtd: maps: sa1100-flash: remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Mar 2015 18:10:41 +0000 (11:10 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 31 Mar 2015 00:50:40 +0000 (17:50 -0700)
commit271afb4c96b70292c5eae0744e08bc2d2b5f4fae
tree81fabbfd5c9d7b087712d14afdcaa2fcf13d074d
parent318157ab1fc843b7e08b7bf1fc2c431c4da9f3ff
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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/maps/sa1100-flash.c