commit | 0ba50bef8f1a3a7aec1eac838eac2ff879d710a1 | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Fri Apr 20 20:41:45 2018 -0400 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Apr 28 16:17:59 2018 +0100 |
tree | 2d3effaca8e5d054c026b2a162125f24f92850b8 | |
parent | d8e24a31cc537f77b56ad21aa048078783907e22 [diff] |
staging: iio: tsl2x7x: remove unnecessary chip status checks in suspend/resume tsl2x7x_suspend() and tsl2x7x_resume() both check to see what the current chip status is. These checks are not necessary so this patch removes those checks. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>