Re: [PATCH] Regulator: db8500-prcmu - remove incorrect __exit markup

2013-02-28 Thread Mark Brown
On Sun, Feb 24, 2013 at 07:26:25PM -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_driver_probe() wh

[PATCH] Regulator: db8500-prcmu - remove incorrect __exit markup

2013-02-24 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