Message ID | 1583762668-12099-1-git-send-email-Anson.Huang@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Daniel Lezcano |
Headers | show |
Series | thermal: imx: Remove unused includes | expand |
On 09/03/2020 15:04, Anson Huang wrote: > Remove unused includes to simplify the code. > > Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Applied, thanks > --- > drivers/thermal/imx_thermal.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c > index e75dda5..d2fa301 100644 > --- a/drivers/thermal/imx_thermal.c > +++ b/drivers/thermal/imx_thermal.c > @@ -3,24 +3,17 @@ > // Copyright 2013 Freescale Semiconductor, Inc. > > #include <linux/clk.h> > -#include <linux/cpu.h> > #include <linux/cpufreq.h> > #include <linux/cpu_cooling.h> > #include <linux/delay.h> > -#include <linux/device.h> > -#include <linux/init.h> > #include <linux/interrupt.h> > #include <linux/io.h> > -#include <linux/kernel.h> > #include <linux/mfd/syscon.h> > #include <linux/module.h> > #include <linux/of.h> > #include <linux/of_device.h> > -#include <linux/platform_device.h> > #include <linux/regmap.h> > -#include <linux/slab.h> > #include <linux/thermal.h> > -#include <linux/types.h> > #include <linux/nvmem-consumer.h> > > #define REG_SET 0x4 >
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index e75dda5..d2fa301 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c @@ -3,24 +3,17 @@ // Copyright 2013 Freescale Semiconductor, Inc. #include <linux/clk.h> -#include <linux/cpu.h> #include <linux/cpufreq.h> #include <linux/cpu_cooling.h> #include <linux/delay.h> -#include <linux/device.h> -#include <linux/init.h> #include <linux/interrupt.h> #include <linux/io.h> -#include <linux/kernel.h> #include <linux/mfd/syscon.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_device.h> -#include <linux/platform_device.h> #include <linux/regmap.h> -#include <linux/slab.h> #include <linux/thermal.h> -#include <linux/types.h> #include <linux/nvmem-consumer.h> #define REG_SET 0x4
Remove unused includes to simplify the code. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> --- drivers/thermal/imx_thermal.c | 7 ------- 1 file changed, 7 deletions(-)