staging: iio: light: Replace symbolic permissions as per coding style
authorSurender Polsani <surenderpolsani@gmail.com>
Fri, 19 May 2017 09:37:12 +0000 (15:07 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 May 2017 14:06:09 +0000 (15:06 +0100)
commit52325ff42a9aa7bdcbcc5461f6eec4c4f93ed944
tree641d9c5bbd36a341d398974793df8bc5770da8af
parent61305664a542f874283f74bf0b27ddb31f5045d7
staging: iio: light: Replace symbolic permissions as per coding style

Fixed the following checkpatch.pl warnings:
octal permissions are more preferable than symbolic permissions

Replaced DEVICE_ATTR family macros with DEVICE_ATTR_RW family
as suggested by Greg K-H. Changed attributes and function
names where ever required to satisfy internal macro definitions
like __ATTR__RW().

Signed-off-by: Surender Polsani <surenderpolsani@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2x7x.c