Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1544531

Re: [PATCH] tpm/st33zp24: Remove unneeded linux/miscdevice.h include

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] tpm/st33zp24: Remove unneeded linux/miscdevice.h include
Date 2016-12-19 14:50 +0100
Message-ID <sQ6ud-8qH-11@gated-at.bofh.it> (permalink)
References <sOHRg-6q-19@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Thu, Dec 15, 2016 at 06:10:17PM +0100, Corentin Labbe wrote:
> tpm/st33zp24/st33zp24.c does not use any miscdevice so this patch remove
> this unnecessary inclusion.
> 
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>

Applied.

/Jarkko

> ---
>  drivers/char/tpm/st33zp24/st33zp24.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/char/tpm/st33zp24/st33zp24.c b/drivers/char/tpm/st33zp24/st33zp24.c
> index 6f060c7..e8e0f7c 100644
> --- a/drivers/char/tpm/st33zp24/st33zp24.c
> +++ b/drivers/char/tpm/st33zp24/st33zp24.c
> @@ -18,7 +18,6 @@
>  
>  #include <linux/module.h>
>  #include <linux/fs.h>
> -#include <linux/miscdevice.h>
>  #include <linux/kernel.h>
>  #include <linux/delay.h>
>  #include <linux/wait.h>
> -- 
> 2.10.2
> 

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] tpm/st33zp24: Remove unneeded linux/miscdevice.h include Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 18:20 +0100
  Re: [PATCH] tpm/st33zp24: Remove unneeded linux/miscdevice.h include Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-12-19 14:50 +0100

csiph-web