power: supply: charger-manager: Slighly simplify code
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 6 Aug 2017 22:37:57 +0000 (00:37 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Fri, 11 Aug 2017 16:54:35 +0000 (18:54 +0200)
commit18a89d5c7ce873e5d813a135bf4e12d75b9d95c7
treeee65c364525a9ed2fc340336deea91d808339655
parent0299484e4ddc330f3a64f7310683e673a25e6482
power: supply: charger-manager: Slighly simplify code

Use 'sizeof(*var)' instead of the equivalent 'sizeof(data structure type)'
because it is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/charger-manager.c