summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/claw.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2011-03-23 10:16:04 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-03-23 10:15:59 +0100
commit3c190c51f55eab691e5d096747262d2653e67de1 (patch)
tree6faf9a816b3dbfb2fc78b2b7f6215b52b1fb49e8 /drivers/s390/net/claw.c
parentd5ab5276baf9fd8b581cfbf41b10b6d4eae55960 (diff)
downloadop-kernel-dev-3c190c51f55eab691e5d096747262d2653e67de1.zip
op-kernel-dev-3c190c51f55eab691e5d096747262d2653e67de1.tar.gz
[S390] ccwgroup_driver: remove duplicate members
Remove the owner and name members of struct ccwgroup_driver and convert all drivers to store this data in the embedded struct device_driver. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/claw.c')
-rw-r--r--drivers/s390/net/claw.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c
index 2e2d2df..9feb62f 100644
--- a/drivers/s390/net/claw.c
+++ b/drivers/s390/net/claw.c
@@ -264,8 +264,10 @@ static struct device *claw_root_dev;
/* ccwgroup table */
static struct ccwgroup_driver claw_group_driver = {
- .owner = THIS_MODULE,
- .name = "claw",
+ .driver = {
+ .owner = THIS_MODULE,
+ .name = "claw",
+ },
.max_slaves = 2,
.driver_id = 0xC3D3C1E6,
.probe = claw_probe,
OpenPOWER on IntegriCloud