commit | 71222bf5412c78d96bf73d09475d3077ce0789f8 | [log] [tgz] |
---|---|---|
author | Gwendal Grignou <gwendal@chromium.org> | Fri Nov 21 10:45:47 2014 -0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Nov 22 11:28:04 2014 +0000 |
tree | 6f9cec236e6ffc4b38f889cac81dfd36366d11a2 | |
parent | 56ae98a20591fcb45c6161fc80cf213e47b8ac04 [diff] |
iio: ak8975: minor fixes Fixes code duplication, return of function. Check client->irq properly when setting up optional irq handler. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>