OSDN Git Service

staging: iio: accel: remove unnecessary syntax
authorChris Ruffin <cmruffin@gmail.com>
Sun, 14 Sep 2014 23:38:00 +0000 (00:38 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 Sep 2014 12:18:08 +0000 (13:18 +0100)
commitd6be7a02d9cf817d3e3d19167d87e52260620ecd
treea3f607918f51756b3844f9d9f468dcc3622d7547
parent3f76a4ea5383ba2f9e76f9625f77ff246907a134
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: Chris Ruffin <cmruffin@gmail.com>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/lis3l02dq_ring.c