mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
power: bq27xxx_battery: Restore device name
Patch <703df6c097
> ("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:
parent
e35a49b163
commit
9aafabc7fe
2 changed files with 35 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue