diff options
| -rw-r--r-- | drivers/power/supply/rt9455_charger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/rt9455_charger.c b/drivers/power/supply/rt9455_charger.c index cfdbde9daf94..eaa9d6faa874 100644 --- a/drivers/power/supply/rt9455_charger.c +++ b/drivers/power/supply/rt9455_charger.c | |||
| @@ -1593,7 +1593,7 @@ static const struct regmap_config rt9455_regmap_config = { | |||
| 1593 | static int rt9455_probe(struct i2c_client *client, | 1593 | static int rt9455_probe(struct i2c_client *client, |
| 1594 | const struct i2c_device_id *id) | 1594 | const struct i2c_device_id *id) |
| 1595 | { | 1595 | { |
| 1596 | struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); | 1596 | struct i2c_adapter *adapter = client->adapter; |
| 1597 | struct device *dev = &client->dev; | 1597 | struct device *dev = &client->dev; |
| 1598 | struct rt9455_info *info; | 1598 | struct rt9455_info *info; |
| 1599 | struct power_supply_config rt9455_charger_config = {}; | 1599 | struct power_supply_config rt9455_charger_config = {}; |
