Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: iio: resolver: add spaces around operators

Add spaces around operators to improve readability and to address the
checkpatch issue:

CHECK: spaces preferred around that '/' (ctx:VxV)

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Eva Rachel Retuya and committed by
Greg Kroah-Hartman
cdd6dee0 ae6394aa

+4 -4
+1 -1
drivers/staging/iio/resolver/ad2s1200.c
··· 31 31 /* input clock on serial interface */ 32 32 #define AD2S1200_HZ 8192000 33 33 /* clock period in nano second */ 34 - #define AD2S1200_TSCLK (1000000000/AD2S1200_HZ) 34 + #define AD2S1200_TSCLK (1000000000 / AD2S1200_HZ) 35 35 36 36 struct ad2s1200_state { 37 37 struct mutex lock;
+3 -3
drivers/staging/iio/resolver/ad2s1210.c
··· 67 67 /* default input clock on serial interface */ 68 68 #define AD2S1210_DEF_CLKIN 8192000 69 69 /* clock period in nano second */ 70 - #define AD2S1210_DEF_TCK (1000000000/AD2S1210_DEF_CLKIN) 70 + #define AD2S1210_DEF_TCK (1000000000 / AD2S1210_DEF_CLKIN) 71 71 #define AD2S1210_DEF_EXCIT 10000 72 72 73 73 enum ad2s1210_mode { ··· 176 176 static inline void ad2s1210_set_resolution_pin(struct ad2s1210_state *st) 177 177 { 178 178 gpio_set_value(st->pdata->res[0], 179 - ad2s1210_res_pins[(st->resolution - 10)/2][0]); 179 + ad2s1210_res_pins[(st->resolution - 10) / 2][0]); 180 180 gpio_set_value(st->pdata->res[1], 181 - ad2s1210_res_pins[(st->resolution - 10)/2][1]); 181 + ad2s1210_res_pins[(st->resolution - 10) / 2][1]); 182 182 } 183 183 184 184 static inline int ad2s1210_soft_reset(struct ad2s1210_state *st)