On Tue, Jun 28, 2022 at 04:03:12PM +0200, Uwe Kleine-König wrote: > From: Uwe Kleine-König <uwe@xxxxxxxxxxxxxxxxx> > > 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. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> ... > drivers/input/joystick/as5011.c | 4 +--- > drivers/input/keyboard/adp5588-keys.c | 4 +--- > drivers/input/keyboard/lm8323.c | 4 +--- > drivers/input/keyboard/lm8333.c | 4 +--- > drivers/input/keyboard/mcs_touchkey.c | 4 +--- > drivers/input/keyboard/qt1070.c | 4 +--- > drivers/input/keyboard/qt2160.c | 4 +--- > drivers/input/keyboard/tca6416-keypad.c | 4 +--- > drivers/input/misc/adxl34x-i2c.c | 4 +--- > drivers/input/misc/bma150.c | 4 +--- > drivers/input/misc/cma3000_d0x_i2c.c | 4 +--- > drivers/input/misc/pcf8574_keypad.c | 4 +--- > drivers/input/mouse/synaptics_i2c.c | 4 +--- > drivers/input/rmi4/rmi_smbus.c | 4 +--- > drivers/input/touchscreen/atmel_mxt_ts.c | 4 +--- > drivers/input/touchscreen/bu21013_ts.c | 4 +--- > drivers/input/touchscreen/cyttsp4_i2c.c | 4 +--- > drivers/input/touchscreen/edt-ft5x06.c | 4 +--- > drivers/input/touchscreen/goodix.c | 4 +--- > drivers/input/touchscreen/migor_ts.c | 4 +--- > drivers/input/touchscreen/s6sy761.c | 4 +--- > drivers/input/touchscreen/stmfts.c | 4 +--- Acked-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Thanks. -- Dmitry