s390/pci: sysfs remove strlen
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 5 Jun 2013 14:08:07 +0000 (16:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:09 +0000 (21:10 +0200)
commit80b054ba2ab1c46e6c34c6a54f542d8f7ad77fca
treee7e597e10d35077b639598fd7baea3bfa72885d7
parent8b2a7e609bfcb26ed3639da9eda3fea42c009b65
s390/pci: sysfs remove strlen

Get rid of the strlen calls, use the return value of sprintf instead.

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_sysfs.c