]> git.baikalelectronics.ru Git - kernel.git/commit
sony-laptop: cache handles and report them via sysfs
authorMattia Dongili <malattia@linux.it>
Sat, 19 Feb 2011 02:52:30 +0000 (11:52 +0900)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:05:26 +0000 (06:05 -0400)
commitb3b4cdb4d38c14ce3a2574124f84763a8f4966ed
tree1b06beb94eb06631f0bedca6ac70eb6ec37ff51b
parente2b0554ca099371b096250b33560216a3fea7fb4
sony-laptop: cache handles and report them via sysfs

Avoid calling into acpi each time we need to lookup a method handle
and report the available handles to ease collection of information when
debugging issues. Also move initialization of the platform driver
earlier to allow adding files from other setup functions.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/sony-laptop.c