aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorMatthew Garrett <[email protected]>2008-08-26 21:09:59 +0100
committerAnton Vorontsov <[email protected]>2008-09-01 02:42:54 +0400
commit942ed161944b3476639916cf544e6975b29c985a (patch)
treea05e3bd0d6b59de318f3bfc5557502c13dde1bc4 /net/lapb/lapb_out.c
parente82374fd1a804e197fc2a54c3930e70c5d300abc (diff)
power_supply: Add function to return system-wide power state
Certain drivers benefit from knowing whether the system is on ac or battery, for instance when determining which backlight registers to read. This adds a simple call to determine whether there's an online power supply other than any batteries. Signed-off-by: Matthew Garrett <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions