lkml.org 
[lkml]   [2018]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v1 11/28] platform/x86: intel_mid_thermal: Sort headers alphabetically
    Date
    Sort headers alphabetically for better maintenance.

    No functional change.

    While here, remove unneeded linux/init.h inclusion.

    Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    ---
    drivers/platform/x86/intel_mid_thermal.c | 9 ++++-----
    1 file changed, 4 insertions(+), 5 deletions(-)

    diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c
    index 008a76903cbf..3fa8207dd34e 100644
    --- a/drivers/platform/x86/intel_mid_thermal.c
    +++ b/drivers/platform/x86/intel_mid_thermal.c
    @@ -24,16 +24,15 @@

    #define pr_fmt(fmt) "intel_mid_thermal: " fmt

    -#include <linux/module.h>
    -#include <linux/init.h>
    +#include <linux/device.h>
    #include <linux/err.h>
    +#include <linux/mfd/intel_msic.h>
    +#include <linux/module.h>
    #include <linux/param.h>
    -#include <linux/device.h>
    #include <linux/platform_device.h>
    -#include <linux/slab.h>
    #include <linux/pm.h>
    +#include <linux/slab.h>
    #include <linux/thermal.h>
    -#include <linux/mfd/intel_msic.h>

    /* Number of thermal sensors */
    #define MSIC_THERMAL_SENSORS 4
    --
    2.19.0
    \
     
     \ /
      Last update: 2018-09-26 18:54    [W:3.423 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site