summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2018-05-10 20:12:17 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-05-12 12:16:39 +0100
commitcc566e90cba70966b5c84ac373110d499b8be4ac (patch)
tree78ab78adaccd19684e49a86fa42bbe9d2b62ac9d /include/linux/timerqueue.h
parent7b4db2e3e64a4a6028ff8cd1682df67df92a3ad4 (diff)
downloadcachepc-linux-cc566e90cba70966b5c84ac373110d499b8be4ac.tar.gz
cachepc-linux-cc566e90cba70966b5c84ac373110d499b8be4ac.zip
staging: iio: tsl2x7x: turn chip off if IIO device registration fails
This patch turns the chip off if IIO device registration fails so that the error handling mirrors the device remove to make review easier in preparation for moving this driver out of staging. This patch also adds a missing error check in the call to tsl2x7x_chip_on() in tsl2x7x_probe(). Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions