]> git.baikalelectronics.ru Git - kernel.git/commit
sony-laptop: only show the handles sysfs file in debug mode
authorMattia Dongili <malattia@linux.it>
Tue, 5 Apr 2011 14:38:35 +0000 (23:38 +0900)
committerMatthew Garrett <mjg@redhat.com>
Tue, 12 Apr 2011 15:27:42 +0000 (11:27 -0400)
commit880d3718c5868855f516e8c028da1a8aac2fea0e
treeb36486f2ead7363495a55a48cc34242b0369f24b
parent99bfe9131bed519e403b8260beb262aaa55528e8
sony-laptop: only show the handles sysfs file in debug mode

It makes no sense to expose this type of information to userspace unless
the driver was explicitly loaded with the debug option.

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