]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iio: imu: kmx61: Fixup parameters alignment
authorDaniel Baluta <daniel.baluta@intel.com>
Tue, 23 Dec 2014 13:22:27 +0000 (15:22 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 5 Jan 2015 18:59:52 +0000 (18:59 +0000)
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/kmx61.c

index 137c1d52b98e7978949e3b1a9ea83f90818f348c..bf3468b982a01e309177985ba58d9fe7c7a15bb2 100644 (file)
@@ -924,11 +924,11 @@ static int kmx61_read_event(struct iio_dev *indio_dev,
 }
 
 static int kmx61_write_event(struct iio_dev *indio_dev,
-                           const struct iio_chan_spec *chan,
-                           enum iio_event_type type,
-                           enum iio_event_direction dir,
-                           enum iio_event_info info,
-                           int val, int val2)
+                            const struct iio_chan_spec *chan,
+                            enum iio_event_type type,
+                            enum iio_event_direction dir,
+                            enum iio_event_info info,
+                            int val, int val2)
 {
        struct kmx61_data *data = kmx61_get_data(indio_dev);
 
@@ -958,10 +958,10 @@ static int kmx61_read_event_config(struct iio_dev *indio_dev,
 }
 
 static int kmx61_write_event_config(struct iio_dev *indio_dev,
-                                  const struct iio_chan_spec *chan,
-                                  enum iio_event_type type,
-                                  enum iio_event_direction dir,
-                                  int state)
+                                   const struct iio_chan_spec *chan,
+                                   enum iio_event_type type,
+                                   enum iio_event_direction dir,
+                                   int state)
 {
        struct kmx61_data *data = kmx61_get_data(indio_dev);
        int ret = 0;