Re: [PATCH v2 1/5] W1: w1-gpio - fix incorrect __init/__exit markups

2013-03-12 Thread Greg Kroah-Hartman
On Sun, Feb 24, 2013 at 10:59:33PM -0800, Dmitry Torokhov wrote: > We should not be using __init/__exit markups on probe() and remove() > methods unless platform_device_probe() is used, because other methods > allow unbinding device through sysfs and these methods should not be > discarded. > > Si

[PATCH v2 1/5] W1: w1-gpio - fix incorrect __init/__exit markups

2013-02-24 Thread Dmitry Torokhov
We should not be using __init/__exit markups on probe() and remove() methods unless platform_device_probe() is used, because other methods allow unbinding device through sysfs and these methods should not be discarded. Signed-off-by: Dmitry Torokhov --- Paatch #4 was adjusted according to Ville'