iio: imu: bmi270: Remove duplicated include in bmi270_i2c.c
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 16 Oct 2024 00:39:19 +0000 (08:39 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 17 Oct 2024 17:54:15 +0000 (18:54 +0100)
The header files linux/module.h is included twice in bmi270_i2c.c,
so one inclusion of each can be removed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11363
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://patch.msgid.link/20241016003919.113306-1-yang.lee@linux.alibaba.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/bmi270/bmi270_i2c.c

index e9025d2..d59161f 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 
-#include <linux/module.h>
 #include <linux/i2c.h>
 #include <linux/iio/iio.h>
 #include <linux/module.h>