diff options
Diffstat (limited to 'drivers/misc/eeprom/at24.c')
| -rw-r--r-- | drivers/misc/eeprom/at24.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index 633e1cf08d6e..938c4f41b98c 100644 --- a/drivers/misc/eeprom/at24.c +++ b/drivers/misc/eeprom/at24.c @@ -791,7 +791,7 @@ static int at24_probe(struct i2c_client *client)  	return 0;  } -static int at24_remove(struct i2c_client *client) +static void at24_remove(struct i2c_client *client)  {  	struct at24_data *at24 = i2c_get_clientdata(client); @@ -801,8 +801,6 @@ static int at24_remove(struct i2c_client *client)  			regulator_disable(at24->vcc_reg);  		pm_runtime_set_suspended(&client->dev);  	} - -	return 0;  }  static int __maybe_unused at24_suspend(struct device *dev) |