diff options
author | 2011-12-07 09:15:45 -0800 | |
---|---|---|
committer | 2011-12-09 09:52:07 -0800 | |
commit | 8351665195cec6d2b73cce8b66f02d6dde246a8e (patch) | |
tree | 3b31b34dc1737ff40679036d97a3f7d6c49ffa88 /lib/dma-debug.c | |
parent | power_supply: add SCOPE attribute to power supplies (diff) | |
download | linux-rng-8351665195cec6d2b73cce8b66f02d6dde246a8e.tar.xz linux-rng-8351665195cec6d2b73cce8b66f02d6dde246a8e.zip |
power_supply: allow a power supply to explicitly point to powered device
If a power supply has a scope of "Device", then allow the power supply
to indicate what device it actually powers. This is represented in the
power supply's sysfs directory as a symlink named "powers", which points to
the sysfs directory of the powered device.
If the device has children, then the sub-devices are also powered by
the same power supply.
Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions