commit | eac15d8ded8f23a7cda681e2b2c7b86cf8535688 | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Sat Mar 03 20:49:32 2018 -0500 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Mar 10 14:26:46 2018 +0000 |
tree | dce66e6b7f9149a31808437d4c1446e464293720 | |
parent | a4a214143ef899a5eb46707f3049f38134d63ccd [diff] |
staging: iio: tsl2x7x: add common function for clearing interrupts There were three places where the same chunk of code was used to clear interrupts. This patch creates a common function tsl2x7x_clear_interrupts() to reduce duplicate code. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>