diff options
author | Anda-Maria Nicolae <anda-maria.nicolae@intel.com> | 2015-05-12 12:11:33 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-05-23 20:03:00 +0200 |
commit | b01e7c3b803e6f0498d4db0b124e3b4efb5ac728 (patch) | |
tree | 3f83d18f21e37d9d3e68abc12804c0a1bff7e976 /drivers/power/collie_battery.c | |
parent | f6d8b7744f692def009b9b354a39daf503bc9e00 (diff) |
power_supply: bq2415x_charger: Add ACPI support
Replace of_property_read_u32() with device_property_read_u32(), which is a
wrapper over ACPI and device tree enumeration methods.
When ACPI enumeration is used, automode is not supported. Therefore,
bq2415x_charger does not update its input current automatically, depending
on the USB port type that is connected to. Input current may be updated via
sysfs.
Signed-off-by: Anda-Maria Nicolae <anda-maria.nicolae@intel.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/collie_battery.c')
0 files changed, 0 insertions, 0 deletions