]> Git Repo - J-linux.git/commitdiff
iio: imu: bmi270: Remove duplicated include in bmi270_i2c.c
authorYang Li <[email protected]>
Wed, 16 Oct 2024 00:39:19 +0000 (08:39 +0800)
committerJonathan Cameron <[email protected]>
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 <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11363
Signed-off-by: Yang Li <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
drivers/iio/imu/bmi270/bmi270_i2c.c

index e9025d22d5cc884ff1aeae081fae6e0c36b5a4bf..d59161f23f9a57ba348a6c076875d8fc1c9ce1a7 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>
This page took 0.050116 seconds and 4 git commands to generate.