diff options
author | Brian Masney <masneyb@onstation.org> | 2018-05-10 20:12:16 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-05-12 12:15:47 +0100 |
commit | 7b4db2e3e64a4a6028ff8cd1682df67df92a3ad4 (patch) | |
tree | 804ab7b66b67dcea1538f86c070f470869028b6e /drivers/thermal/da9062-thermal.c | |
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>
Diffstat (limited to 'drivers/thermal/da9062-thermal.c')
0 files changed, 0 insertions, 0 deletions