commit | 7b4db2e3e64a4a6028ff8cd1682df67df92a3ad4 | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Thu May 10 20:12:16 2018 -0400 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat May 12 12:15:47 2018 +0100 |
tree | 804ab7b66b67dcea1538f86c070f470869028b6e | |
parent | 5cf05135b0b204cde00418045861f032b74fd072 [diff] |
staging: iio: tsl2x7x: use direct returns This patch changes the functions tsl2x7x_read_event_value() and tsl2x7x_read_raw() to use direct returns to simplify the code. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>