Openwrt/target/linux/generic/backport-5.4/804-v5.8-i2c-pxa-remove-unneeded-includes.patch

38 lines
958 B
Diff
Raw Normal View History

From: Russell King <rmk+kernel@armlinux.org.uk>
Bcc: linux@mail.armlinux.org.uk
Cc: linux-i2c@vger.kernel.org
Subject: [PATCH 02/17] i2c: pxa: remove unneeded includes
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"
i2c-pxa does not need linux/sched.h nor linux/time.h includes, so
remove these.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
drivers/i2c/busses/i2c-pxa.c | 4 ----
1 file changed, 4 deletions(-)
--- a/drivers/i2c/busses/i2c-pxa.c
+++ b/drivers/i2c/busses/i2c-pxa.c
@@ -20,8 +20,6 @@
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/init.h>
-#include <linux/time.h>
-#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
@@ -35,8 +33,6 @@
#include <linux/io.h>
#include <linux/platform_data/i2c-pxa.h>
-#include <asm/irq.h>
-
struct pxa_reg_layout {
u32 ibmr;
u32 idbr;