]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power_supply: bq27xxx_battery: Group register mappings into one table
authorAndrew F. Davis <afd@ti.com>
Fri, 17 Jun 2016 22:02:35 +0000 (17:02 -0500)
committerSebastian Reichel <sre@kernel.org>
Sat, 18 Jun 2016 10:07:57 +0000 (12:07 +0200)
commit2e05b518c89714d60000dfe0cd39490da68763e0
tree877a72e4a073c721b750cd659540418b8a9d4231
parent7a4f9830f04c8450a486eb1faf401596259d821b
power_supply: bq27xxx_battery: Group register mappings into one table

Currently for each device with a unique register map we have a named
array that we then merge into a multidimensional array. Skip this
middle step and apply the register arrays directly to the multi-array.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq27xxx_battery.c