iio: imu: kmx61: Fixup parameters alignment
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>
This commit is contained in:
parent
28ff344e1d
commit
dfb12edea5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user