diff options
author | Matthew Garrett <mjg@redhat.com> | 2010-08-23 22:25:32 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-08-31 06:00:47 +0200 |
commit | b137b9942a07843c64a934cfdb7d43155e507e13 (patch) | |
tree | e9f8df3770c4cd7448bb843a391ab6497af39481 /drivers/firmware/iscsi_boot_sysfs.c | |
parent | Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/... (diff) | |
download | linux-b137b9942a07843c64a934cfdb7d43155e507e13.tar.xz linux-b137b9942a07843c64a934cfdb7d43155e507e13.zip |
ACPI: Don't report current_now if battery reports in mWh
ACPI batteries can report in units of either current or energy. Right
now we expose the current_now file even if the battery is reporting
energy units, resulting in a file that should contain mA instead
containing mW. Don't expose this value unless the battery is reporting
current.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/firmware/iscsi_boot_sysfs.c')
0 files changed, 0 insertions, 0 deletions