Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -34,7 +34,8 @@ irqreturn_t lis3l02dq_data_rdy_trig_poll(int irq, void *private)
	if (st->trigger_on) {
		iio_trigger_poll(st->trig);
		return IRQ_HANDLED;
	} else
	}

	return IRQ_WAKE_THREAD;
}