Message ID | 1473635035-14443-2-git-send-email-tomas.winkler@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 > ------------------------------------------------------------------------------
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 --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"
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(-)