Srivatsa S. Bhat c8c64d165c EDAC: Don't give write permission to read-only files
I get the following warning on boot:

------------[ cut here ]------------
WARNING: at drivers/base/core.c:575 device_create_file+0x9a/0xa0()
Hardware name:  -[8737R2A]-
Write permission without 'store'
...
</snip>

Drilling down, this is related to dynamic channel ce_count attribute
files sporting a S_IWUSR mode without a ->store() function. Looking
around, it appears that they aren't supposed to have a ->store()
function. So remove the bogus write permission to get rid of the
warning.

Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: <stable@vger.kernel.org> # 3.[89]
[ shorten commit message ]
Signed-off-by: Borislav Petkov <bp@suse.de>
2013-05-09 12:40:45 +02:00
..
2011-04-19 00:23:22 +02:00
2011-04-19 00:23:22 +02:00
2012-07-29 21:11:05 -03:00
2013-02-20 15:45:52 -03:00
2012-10-30 10:05:51 +01:00
2013-02-20 15:45:52 -03:00
2013-02-10 13:28:41 +01:00
2011-04-19 00:23:22 +02:00
2011-04-19 00:23:22 +02:00
2009-04-02 19:05:03 -07:00
2013-02-20 15:45:52 -03:00