aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2015-03-12 08:44:04 +0100
committerSebastian Reichel <[email protected]>2015-03-13 23:15:48 +0100
commitee8f334a9a467aba2c861a00be7c48dad549700a (patch)
tree89acb1a5d70a494605264040eaa56b90b44be4cb /net/lapb/lapb_iface.c
parentbc1540561c9ede1efb6d7bf44804676d3d02a3cc (diff)
power_supply: sysfs: 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 - set_property -> power_supply_set_property - property_is_writeable -> power_supply_property_is_writeable 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