Message ID | 20230322064158.4043-1-jiapeng.chong@linux.alibaba.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Input: cma3000_d0x - Clean up some inconsistent indenting | expand |
Hi Jiapeng, On Wed, Mar 22, 2023 at 02:41:58PM +0800, Jiapeng Chong wrote: > No functional modification involved. > > drivers/input/misc/cma3000_d0x.c:328 cma3000_init() warn: inconsistent indenting. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4588 > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> > --- > drivers/input/misc/cma3000_d0x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/input/misc/cma3000_d0x.c b/drivers/input/misc/cma3000_d0x.c > index e6feb73bb52b..c444a44e4576 100644 > --- a/drivers/input/misc/cma3000_d0x.c > +++ b/drivers/input/misc/cma3000_d0x.c > @@ -325,7 +325,7 @@ struct cma3000_accl_data *cma3000_init(struct device *dev, int irq, > input_dev->open = cma3000_open; > input_dev->close = cma3000_close; > > - __set_bit(EV_ABS, input_dev->evbit); > + __set_bit(EV_ABS, input_dev->evbit); We should simply remove this, as input_set_abs_params() will set EV_ABS bit for us. > > input_set_abs_params(input_dev, ABS_X, > -data->g_range, data->g_range, pdata->fuzz_x, 0); > -- > 2.20.1.7.g153144c > Thanks.
diff --git a/drivers/input/misc/cma3000_d0x.c b/drivers/input/misc/cma3000_d0x.c index e6feb73bb52b..c444a44e4576 100644 --- a/drivers/input/misc/cma3000_d0x.c +++ b/drivers/input/misc/cma3000_d0x.c @@ -325,7 +325,7 @@ struct cma3000_accl_data *cma3000_init(struct device *dev, int irq, input_dev->open = cma3000_open; input_dev->close = cma3000_close; - __set_bit(EV_ABS, input_dev->evbit); + __set_bit(EV_ABS, input_dev->evbit); input_set_abs_params(input_dev, ABS_X, -data->g_range, data->g_range, pdata->fuzz_x, 0);
No functional modification involved. drivers/input/misc/cma3000_d0x.c:328 cma3000_init() warn: inconsistent indenting. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4588 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- drivers/input/misc/cma3000_d0x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)