staging: gasket: Replace macro __ATTR with __ATTR_NULL
authorWentao Cai <etsai042@gmail.com>
Wed, 13 Mar 2019 08:14:53 +0000 (01:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:05:58 +0000 (07:05 +0100)
commit84c45d5f3bf15a6c5f5b53a972b41fc9e9ff17d6
tree844741b51526d21ffa38ecc9ef6dfbf9a390e5c2
parentef2719d35ac485e36f6b52451d5ec306d09b283c
staging: gasket: Replace macro __ATTR with __ATTR_NULL

Replace macro __ATTR with __ATTR_NULL since the former one is
unnecessary for gasket_sysfs_attr array terminator. Also silence the
checkpatch.pl warning:
WARNING:Symbolic permissions 'S_IRUGO' are not preferred. Consider using
octal
permissions '0444'.

Signed-off-by: Wentao Cai <etsai042@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_sysfs.h