diff options
Diffstat (limited to 'ina260.c')
| -rwxr-xr-x | ina260.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -196,12 +196,11 @@ static int ina260_probe_new(struct i2c_client *client){ return 0; } -static int ina260_remove(struct i2c_client *client){ +static void ina260_remove(struct i2c_client *client){ struct client_data *p=i2c_get_clientdata(client); kfree(p); hwmon_device_unregister(&client->dev); printk("Removing ina260 [bus=%d address=0x%02x]\n",client->adapter->nr,client->addr); - return 0; } static const struct i2c_device_id ina260_ids[] = { |
