power_supply: Populate supplied_from hierarchy from the device tree
authorRhyland Klein <rklein@nvidia.com>
Mon, 1 Apr 2013 21:45:55 +0000 (17:45 -0400)
committerAnton Vorontsov <anton@enomsg.org>
Wed, 17 Apr 2013 01:51:16 +0000 (18:51 -0700)
commitf6e0b081fb300a4601b064346963cf6bb163f437
tree0ac887a0a5e1802213619ada446125e8fee6e7c3
parent5e0848c6026ab98f47e0e179f5c76875cd509d58
power_supply: Populate supplied_from hierarchy from the device tree

With this patch the power_supply_core will try to populate supplied_from
hierarchy from the device tree.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/power_supply_core.c
include/linux/power_supply.h