diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2011-03-23 05:16:04 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-03-23 05:15:59 -0400 |
commit | 3c190c51f55eab691e5d096747262d2653e67de1 (patch) | |
tree | 6faf9a816b3dbfb2fc78b2b7f6215b52b1fb49e8 /drivers/s390/net | |
parent | d5ab5276baf9fd8b581cfbf41b10b6d4eae55960 (diff) |
[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')
-rw-r--r-- | drivers/s390/net/claw.c | 6 | ||||
-rw-r--r-- | drivers/s390/net/ctcm_main.c | 6 | ||||
-rw-r--r-- | drivers/s390/net/lcs.c | 6 | ||||
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 6 |
4 files changed, 16 insertions, 8 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c index 2e2d2dfe78db..9feb62febb3d 100644 --- a/drivers/s390/net/claw.c +++ b/drivers/s390/net/claw.c | |||
@@ -264,8 +264,10 @@ static struct device *claw_root_dev; | |||
264 | /* ccwgroup table */ | 264 | /* ccwgroup table */ |
265 | 265 | ||
266 | static struct ccwgroup_driver claw_group_driver = { | 266 | static struct ccwgroup_driver claw_group_driver = { |
267 | .owner = THIS_MODULE, | 267 | .driver = { |
268 | .name = "claw", | 268 | .owner = THIS_MODULE, |
269 | .name = "claw", | ||
270 | }, | ||
269 | .max_slaves = 2, | 271 | .max_slaves = 2, |
270 | .driver_id = 0xC3D3C1E6, | 272 | .driver_id = 0xC3D3C1E6, |
271 | .probe = claw_probe, | 273 | .probe = claw_probe, |
diff --git a/drivers/s390/net/ctcm_main.c b/drivers/s390/net/ctcm_main.c index 97fd4800ab12..c189296763a4 100644 --- a/drivers/s390/net/ctcm_main.c +++ b/drivers/s390/net/ctcm_main.c | |||
@@ -1774,8 +1774,10 @@ static struct ccw_driver ctcm_ccw_driver = { | |||
1774 | }; | 1774 | }; |
1775 | 1775 | ||
1776 | static struct ccwgroup_driver ctcm_group_driver = { | 1776 | static struct ccwgroup_driver ctcm_group_driver = { |
1777 | .owner = THIS_MODULE, | 1777 | .driver = { |
1778 | .name = CTC_DRIVER_NAME, | 1778 | .owner = THIS_MODULE, |
1779 | .name = CTC_DRIVER_NAME, | ||
1780 | }, | ||
1779 | .max_slaves = 2, | 1781 | .max_slaves = 2, |
1780 | .driver_id = 0xC3E3C3D4, /* CTCM */ | 1782 | .driver_id = 0xC3E3C3D4, /* CTCM */ |
1781 | .probe = ctcm_probe_device, | 1783 | .probe = ctcm_probe_device, |
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c index f59429c3bc30..7fbc4adbb6d5 100644 --- a/drivers/s390/net/lcs.c +++ b/drivers/s390/net/lcs.c | |||
@@ -2409,8 +2409,10 @@ static struct ccw_driver lcs_ccw_driver = { | |||
2409 | * LCS ccwgroup driver registration | 2409 | * LCS ccwgroup driver registration |
2410 | */ | 2410 | */ |
2411 | static struct ccwgroup_driver lcs_group_driver = { | 2411 | static struct ccwgroup_driver lcs_group_driver = { |
2412 | .owner = THIS_MODULE, | 2412 | .driver = { |
2413 | .name = "lcs", | 2413 | .owner = THIS_MODULE, |
2414 | .name = "lcs", | ||
2415 | }, | ||
2414 | .max_slaves = 2, | 2416 | .max_slaves = 2, |
2415 | .driver_id = 0xD3C3E2, | 2417 | .driver_id = 0xD3C3E2, |
2416 | .probe = lcs_probe_device, | 2418 | .probe = lcs_probe_device, |
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 150b2cd99ba8..10a3a3b4dd3e 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c | |||
@@ -4430,8 +4430,10 @@ static int qeth_core_restore(struct ccwgroup_device *gdev) | |||
4430 | } | 4430 | } |
4431 | 4431 | ||
4432 | static struct ccwgroup_driver qeth_core_ccwgroup_driver = { | 4432 | static struct ccwgroup_driver qeth_core_ccwgroup_driver = { |
4433 | .owner = THIS_MODULE, | 4433 | .driver = { |
4434 | .name = "qeth", | 4434 | .owner = THIS_MODULE, |
4435 | .name = "qeth", | ||
4436 | }, | ||
4435 | .driver_id = 0xD8C5E3C8, | 4437 | .driver_id = 0xD8C5E3C8, |
4436 | .probe = qeth_core_probe_device, | 4438 | .probe = qeth_core_probe_device, |
4437 | .remove = qeth_core_remove_device, | 4439 | .remove = qeth_core_remove_device, |