]> git.baikalelectronics.ru Git - kernel.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>
Tue, 20 May 2014 06:58:48 +0000 (08:58 +0200)
commita808fa33e4eee9c9a98c8af4bc9ace20b469a850
treeab7011926812db2349f0bc2d78d1a4529019267e
parent0a2dad7ec917e13f5407233612ad7e9f311d1e52
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