summaryrefslogtreecommitdiff
path: root/drivers/parport/probe.c
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2018-04-20 20:41:44 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-28 16:17:59 +0100
commitd8e24a31cc537f77b56ad21aa048078783907e22 (patch)
tree7f1246d55d2cc6a95e38617ade8734258633e73d /drivers/parport/probe.c
parent3605dfb8510c52b3b2b5e0390cba29d54847a7b7 (diff)
staging: iio: tsl2x7x: simplify tsl2x7x_clear_interrupts function
tsl2x7x_clear_interrupts() takes a reg argument but there are only two callers to this function and both callers pass the same value. Since this function was introduced, interrupts are now working properly for this driver, and several unnecessary calls to tsl2x7x_clear_interrupts() were removed. This patch removes the tsl2x7x_clear_interrupts() function and replaces the two callers with the i2c_smbus_write_byte() call instead. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/parport/probe.c')
0 files changed, 0 insertions, 0 deletions