OSDN Git Service

staging: most: core: make sysfs attributes read-only
authorChristian Gromm <christian.gromm@microchip.com>
Wed, 3 Apr 2019 13:19:49 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:25:17 +0000 (13:25 +0200)
commit787105b30f2388e723c3b94de672056b244164b3
treeee7045195818354b9ab74bcdb93e336ea4220510
parent919c03ae11b98681aedc2ac7d00110c387b92f16
staging: most: core: make sysfs attributes read-only

This patch changes the access flags of the channel attributes to
read-only. This is needed, because configuration is done via configfs.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/core.c