]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/pci: use macro for attribute creation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 16 Apr 2014 14:10:18 +0000 (16:10 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 17 Apr 2014 10:46:56 +0000 (12:46 +0200)
commit98dc5304736319fb86a46320e489841e048bf2fa
tree4de4aad9121782ade36ce343610272b7b74870df
parent877d3dac9ba9e00c3496ab1c2b69d1544de828ca
s390/pci: use macro for attribute creation

Introduce the zpci_attr macro to create read only sysfs attributes
to avoid duplicate code.

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