]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22a0aa3e023a59818ea9af049f710404e0aa0d6d
tree89b50bbe9d863072ea2a9c636a200352839b19a0
parent3d5f9b1b525805786ea40a3ab6bfb140696fedf0
power: bq27xxx_battery: Restore device name

Patch <44f0cec95c00> ("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: 44f0cec95c00179602b3a505c0792ffcca5acc8c
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