Re: [PATCH] power: supply: twl4030_charger: remove incorrect __exit markups

2017-03-15 Thread Sebastian Reichel
Hi Dmitry, On Wed, Mar 01, 2017 at 03:44:53PM -0800, 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_drive

[PATCH] power: supply: twl4030_charger: remove incorrect __exit markups

2017-03-01 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