diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-04-24 09:56:34 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-06-15 11:19:36 +0300 |
commit | bab5ab476190db987c54368cea4a220d9b9453e8 (patch) | |
tree | d0aa83108fe647d221df7d77235bc5c9e16dce80 /drivers | |
parent | 7ef47a12a62e8fcf1b66a401cd6f3fc055581da0 (diff) | |
download | linux-bab5ab476190db987c54368cea4a220d9b9453e8.tar.xz |
mfd: rc5t583-irq: Remove the unneeded include <linux/i2c.h>
This driver does not use i2c, so there is no point in including
<linux/i2c.h>
Remove it and add the needed <linux/device.h> instead, which is much more
lightweight.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/128025bf5b81f5424db2202b0c8cfd9722c28aab.1682319383.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/rc5t583-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rc5t583-irq.c b/drivers/mfd/rc5t583-irq.c index 621ea61fa7c6..97f52b671520 100644 --- a/drivers/mfd/rc5t583-irq.c +++ b/drivers/mfd/rc5t583-irq.c @@ -8,9 +8,9 @@ * based on code * Copyright (C) 2011 RICOH COMPANY,LTD */ +#include <linux/device.h> #include <linux/interrupt.h> #include <linux/irq.h> -#include <linux/i2c.h> #include <linux/mfd/rc5t583.h> enum int_type { |