commit | 85a7d0f7dbbb0f69c8f68dab8eb4a1d7b379cc29 | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Wed Mar 21 06:29:04 2018 -0400 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Mar 24 13:34:09 2018 +0000 |
tree | f5601cf308e1f18bf3912314c2c99bcdd611feb5 | |
parent | 9e4701eaef02e1192faca2d0b3529249522f6253 [diff] |
staging: iio: tsl2x7x: no need to clear interrupt flag when getting lux tsl2x7x_get_lux() does not need to clear the interrupt flag when querying the ALS. The interrupt flag is cleared in tsl2x7x_event_handler(). This patches removes the unnecessary code. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>