commit | 8514976685e664df8cdeaf737a3f73e1e33bc7bd | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Sat Mar 03 20:49:39 2018 -0500 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Mar 10 14:45:05 2018 +0000 |
tree | e9c16a961ad9bceee6e305748c59404bb2a296b6 | |
parent | dbe0f59c7cdaf3815fa6cb13cd925e9736f33388 [diff] |
staging: iio: tsl2x7x: add missing error checks The functions in_illuminance0_calibrate_store() and in_illuminance0_lux_table_store() did not have complete error handling in place. This patch adds the missing error handling. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>