lkml.org 
[lkml]   [2011]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 29/37] Remove unneeded version.h includes from drivers/staging/msm/
    It was pointed out by 'make versioncheck' that some includes of
    linux/version.h are not needed in drivers/staging/msm/.
    This patch removes them.

    Signed-off-by: Jesper Juhl <jj@chaosbits.net>
    ---
    drivers/staging/msm/ebi2_lcd.c | 3 +--
    drivers/staging/msm/msm_fb.c | 1 -
    drivers/staging/msm/msm_fb_bl.c | 1 -
    drivers/staging/msm/msm_fb_def.h | 1 -
    drivers/staging/msm/msm_fb_panel.c | 1 -
    5 files changed, 1 insertions(+), 6 deletions(-)

    diff --git a/drivers/staging/msm/ebi2_lcd.c b/drivers/staging/msm/ebi2_lcd.c
    index b41e123..4834b7b 100644
    --- a/drivers/staging/msm/ebi2_lcd.c
    +++ b/drivers/staging/msm/ebi2_lcd.c
    @@ -29,7 +29,6 @@
    #include <linux/uaccess.h>
    #include <linux/workqueue.h>
    #include <linux/string.h>
    -#include <linux/version.h>
    #include <linux/proc_fs.h>
    #include <linux/vmalloc.h>
    #include <linux/debugfs.h>
    @@ -247,4 +246,4 @@ static int __init ebi2_lcd_driver_init(void)
    return ebi2_lcd_register_driver();
    }

    -module_init(ebi2_lcd_driver_init);
    \ No newline at end of file
    +module_init(ebi2_lcd_driver_init);
    diff --git a/drivers/staging/msm/msm_fb.c b/drivers/staging/msm/msm_fb.c
    index e7ef836..e60f8f9 100644
    --- a/drivers/staging/msm/msm_fb.c
    +++ b/drivers/staging/msm/msm_fb.c
    @@ -32,7 +32,6 @@

    #include <linux/workqueue.h>
    #include <linux/string.h>
    -#include <linux/version.h>
    #include <linux/proc_fs.h>
    #include <linux/vmalloc.h>
    #include <linux/debugfs.h>
    diff --git a/drivers/staging/msm/msm_fb_bl.c b/drivers/staging/msm/msm_fb_bl.c
    index 2a80775..9c8cb88 100644
    --- a/drivers/staging/msm/msm_fb_bl.c
    +++ b/drivers/staging/msm/msm_fb_bl.c
    @@ -21,7 +21,6 @@
    #include <linux/slab.h>
    #include <linux/fb.h>
    #include <linux/string.h>
    -#include <linux/version.h>
    #include <linux/backlight.h>

    #include "msm_fb.h"
    diff --git a/drivers/staging/msm/msm_fb_def.h b/drivers/staging/msm/msm_fb_def.h
    index bc7f256..8b4626f 100644
    --- a/drivers/staging/msm/msm_fb_def.h
    +++ b/drivers/staging/msm/msm_fb_def.h
    @@ -28,7 +28,6 @@
    #include <linux/uaccess.h>
    #include <linux/workqueue.h>
    #include <linux/string.h>
    -#include <linux/version.h>
    #include <linux/proc_fs.h>
    #include <linux/vmalloc.h>
    #include <linux/debugfs.h>
    diff --git a/drivers/staging/msm/msm_fb_panel.c b/drivers/staging/msm/msm_fb_panel.c
    index b17a239..651de16 100644
    --- a/drivers/staging/msm/msm_fb_panel.c
    +++ b/drivers/staging/msm/msm_fb_panel.c
    @@ -29,7 +29,6 @@
    #include <linux/uaccess.h>
    #include <linux/workqueue.h>
    #include <linux/string.h>
    -#include <linux/version.h>
    #include <linux/proc_fs.h>
    #include <linux/vmalloc.h>
    #include <linux/debugfs.h>
    --
    1.7.5.2

    --
    Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
    Don't top-post http://www.catb.org/jargon/html/T/top-post.html
    Plain text mails only, please.



    \
     
     \ /
      Last update: 2011-06-24 01:07    [W:0.024 / U:0.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site