Commit d6be7a02 authored by Chris Ruffin's avatar Chris Ruffin Committed by Jonathan Cameron

staging: iio: accel: remove unnecessary syntax

The else clause in the conditional of lis3l02dq_data_rdy_trig_poll()
does not make consistent use of braces with the rest of the
conditional.  Fix this coding style problem by removing the
unnecessary conditional altogether.
Signed-off-by: default avatarChris Ruffin <cmruffin@gmail.com>
Acked-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 3f76a4ea
...@@ -34,7 +34,8 @@ irqreturn_t lis3l02dq_data_rdy_trig_poll(int irq, void *private) ...@@ -34,7 +34,8 @@ irqreturn_t lis3l02dq_data_rdy_trig_poll(int irq, void *private)
if (st->trigger_on) { if (st->trigger_on) {
iio_trigger_poll(st->trig); iio_trigger_poll(st->trig);
return IRQ_HANDLED; return IRQ_HANDLED;
} else }
return IRQ_WAKE_THREAD; return IRQ_WAKE_THREAD;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment