OSDN Git Service

staging: most: Eliminate usage of symbolic permissions
authorJason Litzinger <jlitzingerdev@gmail.com>
Fri, 25 Nov 2016 22:31:09 +0000 (15:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 20:57:14 +0000 (21:57 +0100)
commit7e47629e7af1204a7571f2d6d7dd0265ee7c9e00
tree99d4ad829a597bec91253df571132abc17db749b
parent3ce173a162e6cb86b5fe42d0ead2d9f20ec8085b
staging: most: Eliminate usage of symbolic permissions

Fix checkpatch warnings regarding the use of symbolic permissions.

Where the MOST_CHANNEL_ATTR macro is used, convert to octal
permissions over symbolic.

Where _ATTR is used directly, replace with _ATTR_RW/_ATTR_WO and
update the show/store function names appropriately.

Signed-off-by: Jason Litzinger <jlitzingerdev@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/mostcore/core.c