aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/max17040_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/max17040_battery.c')
-rw-r--r--drivers/power/max17040_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max17040_battery.c b/drivers/power/max17040_battery.c
index fcc712e8aaeb..ae10a21ed70c 100644
--- a/drivers/power/max17040_battery.c
+++ b/drivers/power/max17040_battery.c
@@ -197,7 +197,7 @@ static enum power_supply_property max17040_battery_props[] = {
197 POWER_SUPPLY_PROP_CAPACITY, 197 POWER_SUPPLY_PROP_CAPACITY,
198}; 198};
199 199
200static int __devinit max17040_probe(struct i2c_client *client, 200static int max17040_probe(struct i2c_client *client,
201 const struct i2c_device_id *id) 201 const struct i2c_device_id *id)
202{ 202{
203 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); 203 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);