power: bq27xxx_battery: Restore device name
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Tue, 2 Feb 2016 12:47:37 +0000 (14:47 +0200)
committerSebastian Reichel <sre@kernel.org>
Sun, 21 Feb 2016 19:49:34 +0000 (20:49 +0100)
commit9aafabc7fece13c8e2a1f680908c73ee19f0f79b
tree89b50bbe9d863072ea2a9c636a200352839b19a0
parente35a49b163fa2108cf82c6f07a3fbe371e468878
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: 703df6c097956d17a818e63961c82e8e9eef9fef
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>
drivers/power/bq27xxx_battery_i2c.c
include/linux/power/bq27xxx_battery.h