Re: [PATCH 2/2] tsl2x7x_core: use octal permission representation

2017-05-07 Thread Jonathan Cameron
On 04/05/17 21:38, Enric Balletbo i Serra wrote: > Fix the output from checkpatch.pl like: > Symbolic permissions 'S_IRUSR' are not preferred. > Consider using octal permissions '0400'. > > Also fix the alignment DEVICE_ATTR variables as should match open > parenthesis. > > Signed-off-by: Enr

[PATCH 2/2] tsl2x7x_core: use octal permission representation

2017-05-04 Thread Enric Balletbo i Serra
Fix the output from checkpatch.pl like: Symbolic permissions 'S_IRUSR' are not preferred. Consider using octal permissions '0400'. Also fix the alignment DEVICE_ATTR variables as should match open parenthesis. Signed-off-by: Enric Balletbo i Serra --- drivers/staging/iio/light/tsl2x7x_core.