Re: [PATCH v4 1/1] staging: iio: ad9850.c: code cleanup

2014-06-29 Thread Jonathan Cameron
On 28/06/14 17:03, Greg KH wrote: On Sat, Jun 28, 2014 at 05:54:39PM +0200, Guillaume Morin wrote: checkpath.pl was complaining about value_mask: ERROR: Macros with complex values should be enclosed in parenthesis I fixed this by simply removing it since it's not used (as well as another macro)

Re: [PATCH v4 1/1] staging: iio: ad9850.c: code cleanup

2014-06-28 Thread Greg KH
On Sat, Jun 28, 2014 at 05:54:39PM +0200, Guillaume Morin wrote: > checkpath.pl was complaining about value_mask: > ERROR: Macros with complex values should be enclosed in parenthesis > > I fixed this by simply removing it since it's not used (as well as another > macro). Got rid of the un-necess

[PATCH v4 1/1] staging: iio: ad9850.c: code cleanup

2014-06-28 Thread Guillaume Morin
checkpath.pl was complaining about value_mask: ERROR: Macros with complex values should be enclosed in parenthesis I fixed this by simply removing it since it's not used (as well as another macro). Got rid of the un-necessary error_ret label as well. Signed-off-by: Guillaume Morin Reported-by: