staging: iio: light: treat build warnings as error
authorSri Krishna chowdary <schowdary@nvidia.com>
Fri, 10 Jan 2014 06:01:52 +0000 (11:01 +0530)
committerSachin Nikam <snikam@nvidia.com>
Mon, 13 Jan 2014 10:52:24 +0000 (02:52 -0800)
commita2a718903ae979b57cb9c2c6b9c66b41037d1363
tree2d53d07edeecd8538d558714158b25f394b143da
parent454eb1500b50dc9ae0f0c552c47c5c62f1355d91
staging: iio: light: treat build warnings as error

- Makefile: enable Werror flag to treat compile time warnings as errors
- max44005: fix unchecked return value in set_led_drive_strength
- tcs3772: IIO_CHAN_INFO_RAW_SEPERATE_BIT is not defined on 3.10.
  Replace it with IIO_CHAN_INFO_RAW instead.

Bug 1211919

Change-Id: I2036ff9c8f0bad1b67e0c3037678a0e2b5bf0482
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/354070
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/staging/iio/light/Makefile
drivers/staging/iio/light/max44005.c
drivers/staging/iio/light/tcs3772.c