s390/pci: use pdev->dev.groups for attribute creation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 16 Apr 2014 14:11:00 +0000 (16:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 20 May 2014 06:58:49 +0000 (08:58 +0200)
commit93065d045a99391c60fa9ab8aca6b503f51b2e95
tree9bc3b70075693d968da9bc24fdb3d854dba77108
parentb346953ddac0d57d4852ddc2b5cd9e16c84ddd59
s390/pci: use pdev->dev.groups for attribute creation

Let the driver core handle attribute creation by putting all s390
specific pci attributes in an attribute group which is referenced
by pdev->dev.groups in pcibios_add_device.

Link: https://lkml.kernel.org/r/alpine.LFD.2.11.1404141101500.1529@denkbrett
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/include/asm/pci.h
arch/s390/pci/pci.c
arch/s390/pci/pci_sysfs.c