]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit855b8bc9953fdf40095fdec9d91d49736ca7b17c
treeb36486f2ead7363495a55a48cc34242b0369f24b
parent8713b04ab8da256493410bd4f25170d2e0836534
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