Re: [PATCH] w1:masters/w1-gpio.c: fix error using "__devinit" and "__devexit"

2012-12-11 Thread Daniel Mack
On 11.12.2012 13:08, Cong Ding wrote: > w1:masters/w1-gpio.c: fix error using "__devinit" and "__devexit" > > we should use "__devinit" to mark the probe function, "__devexit" to > mark the remove function, and "__devexit_p" to mark the pointer to the > remove function. Nope. CONFIG_HOTPLUG is go

[PATCH] w1:masters/w1-gpio.c: fix error using "__devinit" and "__devexit"

2012-12-11 Thread Cong Ding
w1:masters/w1-gpio.c: fix error using "__devinit" and "__devexit" we should use "__devinit" to mark the probe function, "__devexit" to mark the remove function, and "__devexit_p" to mark the pointer to the remove function. the error was found by the following compilation warning: WARNING: drivers