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

From: Jarkko Sakkinen
Date: Mon Dec 19 2016 - 08:41:31 EST


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@xxxxxxxxx>

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

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
>