s390/pci: use pdev->dev.groups for attribute creation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 30 Apr 2014 20:50:09 +0000 (14:50 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 22 May 2014 16:54:06 +0000 (10:54 -0600)
commitef4858c64e836b0b9dbdb9ece13ce932d9fcd4ad
tree599cb5cfa02091b77f9c30bada76e6b1bdebe27b
parentdfc73e7acd9925b434a355eeeed86d44cb435f9c
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