lkml.org 
[lkml]   [2013]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] bq2415x_charger: Remove unneeded version.h include
On Tue, Dec 18, 2012 at 11:07:06PM +0100, Jesper Juhl wrote:
> The file uses nothing from the header, so including it is pointless.
>
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>

Sachin Kamat sent a similar cleanup in Nov, so he wins. :)

> ---
> drivers/power/bq2415x_charger.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c
> index ee842b3..2d1b568 100644
> --- a/drivers/power/bq2415x_charger.c
> +++ b/drivers/power/bq2415x_charger.c
> @@ -28,7 +28,6 @@
> * http://www.ti.com/product/bq24155
> */
>
> -#include <linux/version.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> #include <linux/param.h>
> --
> 1.7.1
>
>
> --
> 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: 2013-01-06 23:01    [W:1.084 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site