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>
This commit is contained in:
Rhyland Klein 2013-04-01 17:45:55 -04:00 • committed by Anton Vorontsov
commit f6e0b081fb
2 changed files with 143 additions and 0 deletions