mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 12:00:00 +00:00
macintosh/ams: Adapt declaration of ams_i2c_remove() to earlier change
Commit ed5c2f5fd10d ("i2c: Make remove callback return void") changed the prototype of ams_i2c_remove() but failed to adapt the declaration. Catch up and fix the declaration accordingly. Fixes: ed5c2f5fd10d ("i2c: Make remove callback return void") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
parent
e05e47088e
commit
2dec3a7a7b
@ -58,7 +58,7 @@ enum ams_i2c_cmd {
|
||||
|
||||
static int ams_i2c_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id);
|
||||
static int ams_i2c_remove(struct i2c_client *client);
|
||||
static void ams_i2c_remove(struct i2c_client *client);
|
||||
|
||||
static const struct i2c_device_id ams_id[] = {
|
||||
{ "MAC,accelerometer_1", 0 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user