summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/bmi270
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2024-10-16 08:39:19 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-17 18:54:15 +0100
commit57573ace0c1b142433dfe3d63ebf375269c80fc1 (patch)
tree87bd603e33f1d7d261c28d0786ad1ce93addb68a /drivers/iio/imu/bmi270
parent26e7fc6a60bcd804becd46e38f2f5f62072826e8 (diff)
iio: imu: bmi270: Remove duplicated include in bmi270_i2c.c
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>
Diffstat (limited to 'drivers/iio/imu/bmi270')
-rw-r--r--drivers/iio/imu/bmi270/bmi270_i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/imu/bmi270/bmi270_i2c.c b/drivers/iio/imu/bmi270/bmi270_i2c.c
index e9025d22d5cc..d59161f23f9a 100644
--- a/drivers/iio/imu/bmi270/bmi270_i2c.c
+++ b/drivers/iio/imu/bmi270/bmi270_i2c.c
@@ -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>