diff options
author | Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com> | 2017-10-10 15:35:19 +0530 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-10-23 20:01:52 +0300 |
commit | a5e50220edbdd1ec8912c191a0f5272d629743bf (patch) | |
tree | bcb56a46f1bf2dcf0d5dc403e6e175dbe32f7826 /drivers/platform | |
parent | 999c8397df590aad2ed8e67250ccf4816484153b (diff) | |
download | linux-stable-a5e50220edbdd1ec8912c191a0f5272d629743bf.tar.gz linux-stable-a5e50220edbdd1ec8912c191a0f5272d629743bf.tar.bz2 linux-stable-a5e50220edbdd1ec8912c191a0f5272d629743bf.zip |
platform/x86: intel_telemetry: cleanup redundant headers
Removes unnecessary header files included in the driver and sorts the
remaining ones in the alphabetical order.
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/intel_telemetry_core.c | 3 | ||||
-rw-r--r-- | drivers/platform/x86/intel_telemetry_debugfs.c | 8 | ||||
-rw-r--r-- | drivers/platform/x86/intel_telemetry_pltdrv.c | 8 |
3 files changed, 4 insertions, 15 deletions
diff --git a/drivers/platform/x86/intel_telemetry_core.c b/drivers/platform/x86/intel_telemetry_core.c index 0d4c3808a6d8..f378621b5fe9 100644 --- a/drivers/platform/x86/intel_telemetry_core.c +++ b/drivers/platform/x86/intel_telemetry_core.c @@ -15,9 +15,8 @@ * Telemetry Framework provides platform related PM and performance statistics. * This file provides the core telemetry API implementation. */ -#include <linux/module.h> -#include <linux/init.h> #include <linux/device.h> +#include <linux/module.h> #include <asm/intel_telemetry.h> diff --git a/drivers/platform/x86/intel_telemetry_debugfs.c b/drivers/platform/x86/intel_telemetry_debugfs.c index 74e518dd237c..4249e8267bbc 100644 --- a/drivers/platform/x86/intel_telemetry_debugfs.c +++ b/drivers/platform/x86/intel_telemetry_debugfs.c @@ -21,14 +21,12 @@ * /sys/kernel/debug/telemetry/ioss_race_verbosity: Write and Change Tracing * Verbosity via firmware */ -#include <linux/module.h> -#include <linux/init.h> -#include <linux/device.h> #include <linux/debugfs.h> -#include <linux/seq_file.h> +#include <linux/device.h> #include <linux/io.h> -#include <linux/uaccess.h> +#include <linux/module.h> #include <linux/pci.h> +#include <linux/seq_file.h> #include <linux/suspend.h> #include <asm/cpu_device_id.h> diff --git a/drivers/platform/x86/intel_telemetry_pltdrv.c b/drivers/platform/x86/intel_telemetry_pltdrv.c index 3daf92e1282f..678abf2e9e92 100644 --- a/drivers/platform/x86/intel_telemetry_pltdrv.c +++ b/drivers/platform/x86/intel_telemetry_pltdrv.c @@ -17,14 +17,6 @@ * The accumulated results are fetched from SRAM. */ #include <linux/module.h> -#include <linux/init.h> -#include <linux/device.h> -#include <linux/debugfs.h> -#include <linux/seq_file.h> -#include <linux/io.h> -#include <linux/uaccess.h> -#include <linux/pci.h> -#include <linux/suspend.h> #include <linux/platform_device.h> #include <asm/cpu_device_id.h> |