power: supply: act8945a_charger: Achieve properties from its node
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 25 Aug 2016 07:19:50 +0000 (15:19 +0800)
committerSebastian Reichel <sre@kernel.org>
Wed, 31 Aug 2016 14:46:43 +0000 (16:46 +0200)
commit5da643b26d280e1b061e18b92bc7d5709ee8034e
tree7256bf35bb9f1d30e3ff8c21868ec8d81a4a0491
parent2fe921758f6ebbfd1df73bcf0a9af6a682cef2b5
power: supply: act8945a_charger: Achieve properties from its node

Since the act8945a_charger is regarded as a sub-device, all properties will
be assigned to its own device node. All properties can be achieved from its
own node, instead of from its parent device.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/act8945a_charger.c