-
Uwe Kleine-König authored
The value returned by an i2c driver's remove function is mostly ignored. (Only an error message is printed if the value is non-zero that the error is ignored.) So change the prototype of the remove function to return no value. This way driver authors are not tempted to assume that passing an error to the upper layer is a good idea. All drivers are adapted accordingly. There is no intended change of behaviour, all callbacks were prepared to return 0 before. Reviewed-by:
Peter Senna Tschudin <peter.senna@gmail.com> Reviewed-by:
Jeremy Kerr <jk@codeconstruct.com.au> Reviewed-by:
Benjamin Mugnier <benjamin.mugnier@foss.st.com> Reviewed-by:
Javier Martinez Canillas <javierm@redhat.com> Reviewed-by:
Crt Mori <cmo@melexis.com> Reviewed-by:
Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Marek Behún <kabel@kernel.org> # for leds-turris-omnia Acked-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> R...
ed5c2f5f