Re: [PATCH] video: fbdev: i810: remove incorrect __exit markups

2017-03-20 Thread Bartlomiej Zolnierkiewicz
On Monday, March 20, 2017 11:42:56 AM Dmitry Torokhov wrote: > Hi Bartlomiej, > > On Mon, Mar 20, 2017 at 06:19:17PM +0100, Bartlomiej Zolnierkiewicz wrote: > > On Wednesday, March 01, 2017 05:31:01 PM Dmitry Torokhov wrote: > > > Even if bus is not hot-pluggable, devices can be unbound from the >

Re: [PATCH] video: fbdev: i810: remove incorrect __exit markups

2017-03-20 Thread Dmitry Torokhov
Hi Bartlomiej, On Mon, Mar 20, 2017 at 06:19:17PM +0100, Bartlomiej Zolnierkiewicz wrote: > On Wednesday, March 01, 2017 05:31:01 PM Dmitry Torokhov wrote: > > 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 >

Re: [PATCH] video: fbdev: i810: remove incorrect __exit markups

2017-03-20 Thread Bartlomiej Zolnierkiewicz
On Wednesday, March 01, 2017 05:31:01 PM Dmitry Torokhov wrote: > 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 s

[PATCH] video: fbdev: i810: remove incorrect __exit markups

2017-03-01 Thread Dmitry Torokhov
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: Dmitr