summaryrefslogtreecommitdiff
path: root/drivers/net/bmac.h
diff options
context:
space:
mode:
authorAndrey Borzenkov <arvidjaar@mail.ru>2007-10-28 09:50:09 (GMT)
committerLen Brown <len.brown@intel.com>2007-10-29 20:30:23 (GMT)
commit508df92d1f8d1921013cb4f45bb547d0eaff912a (patch)
tree5cd6bffd9a8888e085e3e90d378eeac11d98f0f4 /drivers/net/bmac.h
parentb19073a0be5e317d626b3b404e0039b59383891c (diff)
downloadlinux-fsl-qoriq-508df92d1f8d1921013cb4f45bb547d0eaff912a.tar.xz
ACPI: battery: register power_supply subdevice only when battery is present
Make sure no power_supply object is present unless we actualy detect presence of battery. This fixes ghost batteries detected by HAL Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/net/bmac.h')
0 files changed, 0 insertions, 0 deletions