[PATCH] mtd: maps: sa1100-flash: remove incorrect __exit markups

Brian Norris computersforpeace at gmail.com
Mon Mar 30 17:59:05 PDT 2015


On Mon, Mar 09, 2015 at 11:10:41AM -0700, Dmitry Torokhov wrote:
> 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 at gmail.com>

Pushed to l2-mtd.git.

Brian



More information about the linux-mtd mailing list