]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25509e0666ece43bfb6ee87f19cce9863533aa5b
tree99d4ad829a597bec91253df571132abc17db749b
parentd32f18e95b89fc4495d766e65ef7d11c9ffb5cb9
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