From: Alan Jenkins Date: Thu, 3 Dec 2009 07:44:45 +0000 (+0000) Subject: eeepc-laptop: disp attribute should be write-only X-Git-Tag: v2.6.33-rc1~47^2~16^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dff29b63a5bf2eaf3313cb8a84f0b7520c43401;p=pandora-kernel.git eeepc-laptop: disp attribute should be write-only Currently, reading from the disp attribute fails with "No such device", which is misleading. According to CMSG table on acpi4asus project site, no models have a getter method corresponding to SDSP. Change the file permission to disallow reads. If some joker changes the permission to permit reads, then return -EIO to be consistent with sysfs' behaviour when no show() method is provided. Signed-off-by: Alan Jenkins Signed-off-by: Corentin Chary Signed-off-by: Len Brown --- Reading git-diff-tree failed