forked from Minki/linux
f5d9bca666
There were four places where the same chunk of code was used to write to the control register. This patch creates a common function tsl2x7x_write_control_reg() to reduce duplicate code. The function tsl2x7x_chip_off() did not correctly return an error code so this patch also corrects that issue. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
||
---|---|---|
.. | ||
accel | ||
adc | ||
addac | ||
cdc | ||
Documentation | ||
frequency | ||
gyro | ||
impedance-analyzer | ||
light | ||
meter | ||
resolver | ||
trigger | ||
Kconfig | ||
Makefile | ||
TODO |