summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-01-06 22:42:27 (GMT)
committerLen Brown <len.brown@intel.com>2011-01-12 10:06:10 (GMT)
commitda8aeb92d4853f37e281f11fddf61f9c7d84c3cd (patch)
tree784dda3d8ce144a6b79fbace9a6223568b0031d4 /fs/nfsd
parentd57d09a480e1db38eeee7629c81289b00f338a15 (diff)
downloadlinux-fsl-qoriq-da8aeb92d4853f37e281f11fddf61f9c7d84c3cd.tar.xz
ACPI / Battery: Update information on info notification and resume
A notification event 0x81 from an ACPI battery device requires us to re-read the battery information structure. Follow this requirement and remove and re-create the battery's attibutes in sysfs so that they reflect the reporting units used by the battery at the moment (those units may actually change sometimes at run time, which happens on some Thinkpads). The approach used in this patch was suggested by Matthew Garrett. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Reported-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions