2013-03-11 14:20:06

by Wei Yongjun

[permalink] [raw]
Subject: [PATCH -next] char/tpm/tpm_i2c_stm_st33: remove duplicated include from tpm_i2c_stm_st33.c

From: Wei Yongjun <[email protected]>

Remove duplicated include.

Signed-off-by: Wei Yongjun <[email protected]>
---
drivers/char/tpm/tpm_i2c_stm_st33.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/char/tpm/tpm_i2c_stm_st33.c b/drivers/char/tpm/tpm_i2c_stm_st33.c
index 1f5f71e..4e42c62 100644
--- a/drivers/char/tpm/tpm_i2c_stm_st33.c
+++ b/drivers/char/tpm/tpm_i2c_stm_st33.c
@@ -36,7 +36,6 @@
#include <linux/i2c.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
-#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/init.h>
@@ -50,7 +49,6 @@
#include <linux/uaccess.h>
#include <linux/io.h>
#include <linux/slab.h>
-#include <linux/sched.h>

#include "tpm.h"
#include "tpm_i2c_stm_st33.h"


2013-03-15 21:22:03

by Kent Yoder

[permalink] [raw]
Subject: Re: [PATCH -next] char/tpm/tpm_i2c_stm_st33: remove duplicated include from tpm_i2c_stm_st33.c

On Mon, Mar 11, 2013 at 9:20 AM, Wei Yongjun <[email protected]> wrote:
> From: Wei Yongjun <[email protected]>
>
> Remove duplicated include.

HI Wei, thanks for the patch. I've already staged the same patch for
inclusion in the next pull request for TPM drivers here:

https://github.com/shpedoikal/linux/commit/6c09a9f5fcb3955afbae2e5a279c5d23481aab77

Thanks,
Kent

> Signed-off-by: Wei Yongjun <[email protected]>
> ---
> drivers/char/tpm/tpm_i2c_stm_st33.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/char/tpm/tpm_i2c_stm_st33.c b/drivers/char/tpm/tpm_i2c_stm_st33.c
> index 1f5f71e..4e42c62 100644
> --- a/drivers/char/tpm/tpm_i2c_stm_st33.c
> +++ b/drivers/char/tpm/tpm_i2c_stm_st33.c
> @@ -36,7 +36,6 @@
> #include <linux/i2c.h>
> #include <linux/fs.h>
> #include <linux/miscdevice.h>
> -#include <linux/module.h>
> #include <linux/kernel.h>
> #include <linux/delay.h>
> #include <linux/init.h>
> @@ -50,7 +49,6 @@
> #include <linux/uaccess.h>
> #include <linux/io.h>
> #include <linux/slab.h>
> -#include <linux/sched.h>
>
> #include "tpm.h"
> #include "tpm_i2c_stm_st33.h"
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/