From: Krzysztof Kozlowski Date: Thu, 12 Mar 2015 07:44:07 +0000 (+0100) Subject: mfd: ab8500: Use power_supply_*() API for accessing function attrs X-Git-Tag: omap-for-v4.2/o2_dc~164^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=091e73a23a81efd2a01523178e9086ed346384ac;p=pandora-kernel.git mfd: 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 Acked-by: Jonghwa Lee Acked-by: Pavel Machek Acked-by: Lee Jones Reviewed-by: Bartlomiej Zolnierkiewicz Reviewed-by: Sebastian Reichel Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed