commit | dbe0f59c7cdaf3815fa6cb13cd925e9736f33388 | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Sat Mar 03 20:49:38 2018 -0500 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Mar 10 14:44:18 2018 +0000 |
tree | b9b5cd2efa3097e7f14eb1c46bdbcb99bf3f8f29 | |
parent | 6f80ff9ec8533991c854082cce1ea3e024da36a5 [diff] |
staging: iio: tsl2x7x: add error handling to tsl2x7x_prox_cal() tsl2x7x_prox_cal() did not have any error checks. This patch adds the missing error handling and ensures that any errors are reported to user space via in_proximity0_calibrate_store(). Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>