staging: iio: light: isl29028: appropriately set interrupt flag
authorPreetham Chandru R <pchandru@nvidia.com>
Tue, 22 Jan 2013 12:55:17 +0000 (17:55 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Wed, 23 Jan 2013 19:27:30 +0000 (11:27 -0800)
commit8b89b2b64c67d80fcfc29cd4f6a92d4527e70df9
tree395b2f0b80c7adb7e7def199ca546567ad4e1271
parent5568a6ea275d7c62cd2553277fa1b291027cfd4e
staging: iio: light: isl29028: appropriately set interrupt flag

set is_int_enable to true only if we register for a irq.

Bug 1211260

Change-Id: I603efe721796db70d504da7999e5d7939d45d13a
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/193047
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/staging/iio/light/isl29028.c