iio: accel: kxcjk-1013: Remove blank lines
PATCH 1/1 iio: accel: kxcjk-1013: Remove blank lines
This patch fixes the the following errors given by checkpatch.pl with --strict:
Please don't use multiple blank lines.
Blank lines aren't necessary after an open brace '{'.
--- drivers/iio/accel/kxcjk-1013.c | 3 --- 1 file changed, 3 deletions(-)
drivers/iio/accel/kxcjk-1013.c +0 -3
@@ -658,10 +658,8 @@ static int kxcjk1013_set_scale(struct kxcjk1013_data *data, int val)int ret, i;enum kxcjk1013_mode store_mode; -for (i =0 ; i <ARRAY_SIZE (KXCJK1013_scale_table); ++i) {if (KXCJK1013_scale_table[i].scale == val) { - ret =kxcjk1013_get_mode (data, &store_mode);if (ret <0 )return ret;
@@ -820,7 +818,6 @@ static int kxcjk1013_read_event_config(struct iio_dev *indio_dev, enum iio_event_type type, enum iio_event_direction dir) { -struct kxcjk1013_data *data =iio_priv (indio_dev);return data->ev_enable_state;
Signature · 1 line
2.1.0
Quoted 6 lines · Ana Calinov
This patch fixes the the following errors given by checkpatch.pl with --strict:
Please don't use multiple blank lines.
Blank lines aren't necessary after an open brace '{'.Signed-off-by Ana Calinov <[email protected]>
Looks good to me.
Thanks Ana!
Daniel.
Quoted 9 lines · Daniel Baluta
Quoted 6 lines · Ana Calinov
This patch fixes the the following errors given by checkpatch.pl with --strict:
Please don't use multiple blank lines.
Blank lines aren't necessary after an open brace '{'.Signed-off-by Ana Calinov <[email protected]>
Quoted 8 lines
Looks good to me.
Reviewed-by Daniel Baluta <[email protected]>Thanks Ana!
Daniel.
Applied to the togreg branch of iio.git. Will push out as testing for the autobuilders to play with it.
A sensible checkpatch based cleanup. Thanks
Jonathan