diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-03-12 10:44:06 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-03-14 01:15:49 +0300 |
commit | 15077fc1f78488169ee5b87f553d17c1afcb1255 (patch) | |
tree | 29d1d071ad87143af547f5672cd6a97989ed5bad /drivers/mfd | |
parent | 465c436b9e957c9db4770090e4c6086d97a6b893 (diff) | |
download | linux-15077fc1f78488169ee5b87f553d17c1afcb1255.tar.xz |
power_supply: ab8500: Use power_supply_*() API for accessing function attrs
Replace direct calls to power supply function attributes with wrappers.
Wrappers provide safe access in case of unregistering the power
supply (e.g. by removing the driver). Replace:
- get_property -> power_supply_get_property
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions