platform/x86: asus-wmi: fix cpufv sysfs file permission
authorJérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Sat, 22 Apr 2017 02:19:45 +0000 (22:19 -0400)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Apr 2017 18:52:24 +0000 (21:52 +0300)
commita8fe342856e5bce71a43201eb2870bd059483d2f
treea350c416ca83c028512d98ac94ae4c8ee5c5933b
parentf9ac89f5ad613b462339e845aeb8494646fd9be2
platform/x86: asus-wmi: fix cpufv sysfs file permission

The cpufv sysfs file is defined as readable by anyone even if the
attribute does not have a show function. The result of every read is an
IO error. This file should be write only.

Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/asus-wmi.c