[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171222160607.GA30884@ziepe.ca>
Date: Fri, 22 Dec 2017 09:06:07 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: Javier Martinez Canillas <javierm@...hat.com>
Cc: linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
Peter Huewe <peterhuewe@....de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-integrity@...r.kernel.org
Subject: Re: [PATCH] tpm: remove unused data fields from I2C and OF device ID
tables
On Fri, Dec 22, 2017 at 11:26:36AM +0100, Javier Martinez Canillas wrote:
> The data field for the entries in the device tables are set but not used.
>
> Signed-off-by: Javier Martinez Canillas <javierm@...hat.com>
>
> drivers/char/tpm/tpm_i2c_infineon.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/char/tpm/tpm_i2c_infineon.c b/drivers/char/tpm/tpm_i2c_infineon.c
> index 005c38879b2e..19fbd6a3a8e9 100644
> +++ b/drivers/char/tpm/tpm_i2c_infineon.c
> @@ -665,9 +665,9 @@ static int tpm_tis_i2c_init(struct device *dev)
> }
>
> static const struct i2c_device_id tpm_tis_i2c_table[] = {
> - {"tpm_i2c_infineon", 0},
> - {"slb9635tt", 0},
> - {"slb9645tt", 1},
> + {"tpm_i2c_infineon" },
> + {"slb9635tt" },
> + {"slb9645tt" },
^^^
The space should go too..
Jason
Powered by blists - more mailing lists