android_kernel_xiaomi_sm8350/drivers/sbus
David S. Miller c7c17c2779 bbc_envctrl: Clean up properly if kthread_run() fails.
In bbc_envctrl_init() we have to unlink the fan and temp instances
from the lists because our caller is going to free up the 'bp' object
if we return an error.

We can't rely upon bbc_envctrl_cleanup() to do this work for us in
this case.

Reported-by: Patrick Finnegan <pat@computer-refuge.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-04 15:31:10 -08:00
..
char bbc_envctrl: Clean up properly if kthread_run() fails. 2010-01-04 15:31:10 -08:00
Makefile sparc: Remove generic SBUS probing layer. 2008-08-29 02:15:21 -07:00