From: Corentin Chary Date: Sat, 26 Nov 2011 10:00:03 +0000 (+0100) Subject: samsung-laptop: add a small debugfs interface X-Git-Tag: v3.4-rc1~63^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b80fc40e5c53da2c69382c20cfc2ece19ece9ce;p=pandora-kernel.git samsung-laptop: add a small debugfs interface This allow to call arbitrary sabi commands wihout modifying the driver at all. For example, setting the keyboard backlight brightness to 5 using debugfs interface can be done like that: ; Set the command echo 0x78 > command ; Set the data echo 0x0582 > d0 ; Fill the rest with 0 echo 0 > d1 echo 0 > d2 echo 0 > d3 ; And issue the command cat call Signed-off-by: Corentin Chary Acked-by: Greg Kroah-Hartman Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed