|
@@ -704,6 +704,7 @@ static int sbs_probe(struct i2c_client *client,
|
|
chip->power_supply.properties = sbs_properties;
|
|
chip->power_supply.properties = sbs_properties;
|
|
chip->power_supply.num_properties = ARRAY_SIZE(sbs_properties);
|
|
chip->power_supply.num_properties = ARRAY_SIZE(sbs_properties);
|
|
chip->power_supply.get_property = sbs_get_property;
|
|
chip->power_supply.get_property = sbs_get_property;
|
|
|
|
+ chip->power_supply.of_node = client->dev.of_node;
|
|
/* ignore first notification of external change, it is generated
|
|
/* ignore first notification of external change, it is generated
|
|
* from the power_supply_register call back
|
|
* from the power_supply_register call back
|
|
*/
|
|
*/
|