aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBrian Masney <[email protected]>2018-05-10 20:12:17 -0400
committerJonathan Cameron <[email protected]>2018-05-12 12:16:39 +0100
commitcc566e90cba70966b5c84ac373110d499b8be4ac (patch)
tree78ab78adaccd19684e49a86fa42bbe9d2b62ac9d /tools/perf/scripts/python/export-to-postgresql.py
parent7b4db2e3e64a4a6028ff8cd1682df67df92a3ad4 (diff)
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions