diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-03-05 19:48:26 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-03-25 10:13:44 +0100 |
commit | cbde07f0d1afbaf4cb23787457fe64f69a5b6d38 (patch) | |
tree | a7e6d19ec4fb3d450cd93bd4e2a1f346b89bb1f8 | |
parent | 7756d3cfe192bf5dd265825fef38618e2038f9ec (diff) | |
download | lwn-cbde07f0d1afbaf4cb23787457fe64f69a5b6d38.tar.gz lwn-cbde07f0d1afbaf4cb23787457fe64f69a5b6d38.zip |
media: ir-spi: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use)
principle.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r-- | drivers/media/rc/ir-spi.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/drivers/media/rc/ir-spi.c b/drivers/media/rc/ir-spi.c index bbc81bed4f90..28437a35b7ba 100644 --- a/drivers/media/rc/ir-spi.c +++ b/drivers/media/rc/ir-spi.c @@ -4,13 +4,18 @@ // Copyright (c) 2016 Samsung Electronics Co., Ltd. // Copyright (c) Andi Shyti <andi@etezian.org> -#include <linux/delay.h> -#include <linux/fs.h> +#include <linux/bits.h> +#include <linux/device.h> +#include <linux/err.h> +#include <linux/math.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> -#include <linux/mutex.h> -#include <linux/of_gpio.h> +#include <linux/of.h> #include <linux/regulator/consumer.h> #include <linux/spi/spi.h> +#include <linux/string.h> +#include <linux/types.h> + #include <media/rc-core.h> #define IR_SPI_DRIVER_NAME "ir-spi" |