Re: [PATCH] video: fbdev: pmagb-b-fb: remove incorrect __exit markups

2017-03-20 Thread Bartlomiej Zolnierkiewicz
On Saturday, February 25, 2017 11:25:11 AM 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() w

[PATCH] video: fbdev: pmagb-b-fb: remove incorrect __exit markups

2017-02-25 Thread Dmitry Torokhov
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: D