diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2011-03-23 05:16:02 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-03-23 05:15:59 -0400 |
commit | 3bda058b0c39fc72188116d2fd71af08dd0fe5b0 (patch) | |
tree | 94d2cb60f495ebb6b14b40ad9e23feb9ba001ce9 /drivers/s390/char | |
parent | 9a26513eb67ec4b2cb1744834076afad21b68aac (diff) |
[S390] ccw_driver: remove duplicate members
Remove the owner and name members of struct
ccw_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/char')
-rw-r--r-- | drivers/s390/char/con3215.c | 6 | ||||
-rw-r--r-- | drivers/s390/char/raw3270.c | 6 | ||||
-rw-r--r-- | drivers/s390/char/tape_34xx.c | 6 | ||||
-rw-r--r-- | drivers/s390/char/tape_3590.c | 6 | ||||
-rw-r--r-- | drivers/s390/char/vmur.c | 6 |
5 files changed, 20 insertions, 10 deletions
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index 3fb4335d491d..694464c65fcd 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c | |||
@@ -764,8 +764,10 @@ static struct ccw_device_id raw3215_id[] = { | |||
764 | }; | 764 | }; |
765 | 765 | ||
766 | static struct ccw_driver raw3215_ccw_driver = { | 766 | static struct ccw_driver raw3215_ccw_driver = { |
767 | .name = "3215", | 767 | .driver = { |
768 | .owner = THIS_MODULE, | 768 | .name = "3215", |
769 | .owner = THIS_MODULE, | ||
770 | }, | ||
769 | .ids = raw3215_id, | 771 | .ids = raw3215_id, |
770 | .probe = &raw3215_probe, | 772 | .probe = &raw3215_probe, |
771 | .remove = &raw3215_remove, | 773 | .remove = &raw3215_remove, |
diff --git a/drivers/s390/char/raw3270.c b/drivers/s390/char/raw3270.c index 96ba2fd1c8ad..4c023761946f 100644 --- a/drivers/s390/char/raw3270.c +++ b/drivers/s390/char/raw3270.c | |||
@@ -1388,8 +1388,10 @@ static struct ccw_device_id raw3270_id[] = { | |||
1388 | }; | 1388 | }; |
1389 | 1389 | ||
1390 | static struct ccw_driver raw3270_ccw_driver = { | 1390 | static struct ccw_driver raw3270_ccw_driver = { |
1391 | .name = "3270", | 1391 | .driver = { |
1392 | .owner = THIS_MODULE, | 1392 | .name = "3270", |
1393 | .owner = THIS_MODULE, | ||
1394 | }, | ||
1393 | .ids = raw3270_id, | 1395 | .ids = raw3270_id, |
1394 | .probe = &raw3270_probe, | 1396 | .probe = &raw3270_probe, |
1395 | .remove = &raw3270_remove, | 1397 | .remove = &raw3270_remove, |
diff --git a/drivers/s390/char/tape_34xx.c b/drivers/s390/char/tape_34xx.c index c26511171ffe..9eff2df70ddb 100644 --- a/drivers/s390/char/tape_34xx.c +++ b/drivers/s390/char/tape_34xx.c | |||
@@ -1320,8 +1320,10 @@ tape_34xx_online(struct ccw_device *cdev) | |||
1320 | } | 1320 | } |
1321 | 1321 | ||
1322 | static struct ccw_driver tape_34xx_driver = { | 1322 | static struct ccw_driver tape_34xx_driver = { |
1323 | .name = "tape_34xx", | 1323 | .driver = { |
1324 | .owner = THIS_MODULE, | 1324 | .name = "tape_34xx", |
1325 | .owner = THIS_MODULE, | ||
1326 | }, | ||
1325 | .ids = tape_34xx_ids, | 1327 | .ids = tape_34xx_ids, |
1326 | .probe = tape_generic_probe, | 1328 | .probe = tape_generic_probe, |
1327 | .remove = tape_generic_remove, | 1329 | .remove = tape_generic_remove, |
diff --git a/drivers/s390/char/tape_3590.c b/drivers/s390/char/tape_3590.c index de2e99e0a71b..b98dcbd16711 100644 --- a/drivers/s390/char/tape_3590.c +++ b/drivers/s390/char/tape_3590.c | |||
@@ -1761,8 +1761,10 @@ tape_3590_online(struct ccw_device *cdev) | |||
1761 | } | 1761 | } |
1762 | 1762 | ||
1763 | static struct ccw_driver tape_3590_driver = { | 1763 | static struct ccw_driver tape_3590_driver = { |
1764 | .name = "tape_3590", | 1764 | .driver = { |
1765 | .owner = THIS_MODULE, | 1765 | .name = "tape_3590", |
1766 | .owner = THIS_MODULE, | ||
1767 | }, | ||
1766 | .ids = tape_3590_ids, | 1768 | .ids = tape_3590_ids, |
1767 | .probe = tape_generic_probe, | 1769 | .probe = tape_generic_probe, |
1768 | .remove = tape_generic_remove, | 1770 | .remove = tape_generic_remove, |
diff --git a/drivers/s390/char/vmur.c b/drivers/s390/char/vmur.c index caef1757341d..f6b00c3df425 100644 --- a/drivers/s390/char/vmur.c +++ b/drivers/s390/char/vmur.c | |||
@@ -64,8 +64,10 @@ static int ur_set_offline(struct ccw_device *cdev); | |||
64 | static int ur_pm_suspend(struct ccw_device *cdev); | 64 | static int ur_pm_suspend(struct ccw_device *cdev); |
65 | 65 | ||
66 | static struct ccw_driver ur_driver = { | 66 | static struct ccw_driver ur_driver = { |
67 | .name = "vmur", | 67 | .driver = { |
68 | .owner = THIS_MODULE, | 68 | .name = "vmur", |
69 | .owner = THIS_MODULE, | ||
70 | }, | ||
69 | .ids = ur_ids, | 71 | .ids = ur_ids, |
70 | .probe = ur_probe, | 72 | .probe = ur_probe, |
71 | .remove = ur_remove, | 73 | .remove = ur_remove, |