diff options
author | Krzysztof Kozlowski <[email protected]> | 2015-03-12 08:44:08 +0100 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2015-03-13 23:15:50 +0100 |
commit | 75599d365367fe4a5bf7b10451f19a99369af219 (patch) | |
tree | 26c44f7899343cffb5d4df8d201945becca5f934 /net/lapb/lapb_iface.c | |
parent | 091e73a23a81efd2a01523178e9086ed346384ac (diff) |
power_supply: apm_power: 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 <[email protected]>
Acked-by: Jonghwa Lee <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions