tpm: fix format string error in tpm-chip.c
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 20 Jan 2015 10:03:35 +0000 (12:03 +0200)
committerPeter Huewe <peterhuewe@gmx.de>
Tue, 20 Jan 2015 20:28:36 +0000 (21:28 +0100)
commit743410a03bbf110da8942a715cf1358344ecc281
tree9abd3c040121b275e9ebddc9823ec7f6bf55b9b8
parent914309995ed5c6c737df4135ac5ba2b67cff194d
tpm: fix format string error in tpm-chip.c

dev_set_name() takes three arguments where the second argument is
a format string. This patch fixes the call accordingly in tpm-chip.c

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 313d21eeab92 ("tpm: device class for tpm")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
drivers/char/tpm/tpm-chip.c