Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: ili210x - fix permissions on "calibrate" attribute

"calibrate" attribute does not provide "show" methods and thus we should
not mark it as readable.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+1 -1
+1 -1
drivers/input/touchscreen/ili210x.c
··· 169 169 170 170 return count; 171 171 } 172 - static DEVICE_ATTR(calibrate, 0644, NULL, ili210x_calibrate); 172 + static DEVICE_ATTR(calibrate, S_IWUSR, NULL, ili210x_calibrate); 173 173 174 174 static struct attribute *ili210x_attributes[] = { 175 175 &dev_attr_calibrate.attr,