diff mbox

[tpmdd-devel,1/4] tmp/tpm_crb: drop include to platform_device

Message ID 1473635035-14443-2-git-send-email-tomas.winkler@intel.com
State New
Headers show

Commit Message

Winkler, Tomas Sept. 11, 2016, 11:03 p.m. UTC
The platform device is not used in this driver, drop the
include to linux/platform_device.h

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
---
 drivers/char/tpm/tpm_crb.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Jarkko Sakkinen Sept. 12, 2016, 9:29 a.m. UTC | #1
On Mon, Sep 12, 2016 at 02:03:52AM +0300, Tomas Winkler wrote:
> The platform device is not used in this driver, drop the
> include to linux/platform_device.h
> 
> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>

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

/Jarkko

> ---
>  drivers/char/tpm/tpm_crb.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c
> index 82a3ccd52a3a..6a4b32599869 100644
> --- a/drivers/char/tpm/tpm_crb.c
> +++ b/drivers/char/tpm/tpm_crb.c
> @@ -19,7 +19,6 @@
>  #include <linux/highmem.h>
>  #include <linux/rculist.h>
>  #include <linux/module.h>
> -#include <linux/platform_device.h>
>  #include "tpm.h"
>  
>  #define ACPI_SIG_TPM2 "TPM2"
> -- 
> 2.7.4
> 

------------------------------------------------------------------------------
Jarkko Sakkinen Sept. 12, 2016, 10:47 a.m. UTC | #2
On Mon, Sep 12, 2016 at 12:29:21PM +0300, Jarkko Sakkinen wrote:
> On Mon, Sep 12, 2016 at 02:03:52AM +0300, Tomas Winkler wrote:
> > The platform device is not used in this driver, drop the
> > include to linux/platform_device.h
> > 
> > Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
> 
> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>

Applied.

/Jarkko

> 
> /Jarkko
> 
> > ---
> >  drivers/char/tpm/tpm_crb.c | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c
> > index 82a3ccd52a3a..6a4b32599869 100644
> > --- a/drivers/char/tpm/tpm_crb.c
> > +++ b/drivers/char/tpm/tpm_crb.c
> > @@ -19,7 +19,6 @@
> >  #include <linux/highmem.h>
> >  #include <linux/rculist.h>
> >  #include <linux/module.h>
> > -#include <linux/platform_device.h>
> >  #include "tpm.h"
> >  
> >  #define ACPI_SIG_TPM2 "TPM2"
> > -- 
> > 2.7.4
> > 

------------------------------------------------------------------------------
diff mbox

Patch

diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c
index 82a3ccd52a3a..6a4b32599869 100644
--- a/drivers/char/tpm/tpm_crb.c
+++ b/drivers/char/tpm/tpm_crb.c
@@ -19,7 +19,6 @@ 
 #include <linux/highmem.h>
 #include <linux/rculist.h>
 #include <linux/module.h>
-#include <linux/platform_device.h>
 #include "tpm.h"
 
 #define ACPI_SIG_TPM2 "TPM2"