summaryrefslogtreecommitdiffstats
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorRhyland Klein <rklein@nvidia.com>2013-06-10 17:26:42 -0400
committerStephen Warren <swarren@nvidia.com>2013-06-12 14:52:51 -0600
commitd5284a67a939764d9a4ab90c7f6882e9c0b0c812 (patch)
tree1aae6c5f59ee501d75e71281a19d44491ddd2f8b /lib/percpu_counter.c
parent15e5c647279913786788a2afaf9cd1a22b5ca7f8 (diff)
ARM: tegra: add power-supplies link between battery and charger
The power supply core now supports detecting linkages between batteries and chargers through the use of the power-supplies property. Adding this to the battery, the core will use the phandle list to find the associated charger and pair them up. This facilitates notifications from the charger to the battery when ac power is dissconnected or connected for instance. Signed-off-by: Rhyland Klein <rklein@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions