tpm_crb/tis: fix: use dev_name() for /proc/iomem
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 17 Feb 2016 00:10:52 +0000 (02:10 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 20 Feb 2016 07:59:33 +0000 (09:59 +0200)
commit30f9c8c9e2ea37473a51354e9e492580a40661ce
tree9bbe501babb3545be8f504a874c56169607954c7
parent186d124f07da193a8f47e491af85cb695d415f2f
tpm_crb/tis: fix: use dev_name() for /proc/iomem

In all cases use dev_name() for the mapped resources. This is both
for sake of consistency and also with some platforms resource name
given by ACPI object seems to return garbage.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fixes: 1bd047be37d9 ("tpm_crb: Use devm_ioremap_resource")
drivers/char/tpm/tpm_crb.c
drivers/char/tpm/tpm_tis.c