power: bq27xxx_battery: Restore device name
Patch <703df6c09795> ("power: bq27xxx_battery: Reorganize I2C
into a module") has removed the device name numbering from
bq27xxx_battery_i2c_probe. Fix that by restoring the code.
Fixes: 703df6c097
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:

committed by
Sebastian Reichel

parent
e35a49b163
commit
9aafabc7fe
@@ -49,6 +49,7 @@ struct bq27xxx_reg_cache {
|
||||
|
||||
struct bq27xxx_device_info {
|
||||
struct device *dev;
|
||||
int id;
|
||||
enum bq27xxx_chip chip;
|
||||
const char *name;
|
||||
struct bq27xxx_access_methods bus;
|
||||
|
Reference in New Issue
Block a user