aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/claw.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2011-03-23 05:16:02 -0400
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-03-23 05:15:59 -0400
commit3bda058b0c39fc72188116d2fd71af08dd0fe5b0 (patch)
tree94d2cb60f495ebb6b14b40ad9e23feb9ba001ce9 /drivers/s390/net/claw.c
parent9a26513eb67ec4b2cb1744834076afad21b68aac (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/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 ce3a5c13ce0b..2e2d2dfe78db 100644
--- a/drivers/s390/net/claw.c
+++ b/drivers/s390/net/claw.c
@@ -282,8 +282,10 @@ static struct ccw_device_id claw_ids[] = {
282MODULE_DEVICE_TABLE(ccw, claw_ids); 282MODULE_DEVICE_TABLE(ccw, claw_ids);
283 283
284static struct ccw_driver claw_ccw_driver = { 284static struct ccw_driver claw_ccw_driver = {
285 .owner = THIS_MODULE, 285 .driver = {
286 .name = "claw", 286 .owner = THIS_MODULE,
287 .name = "claw",
288 },
287 .ids = claw_ids, 289 .ids = claw_ids,
288 .probe = ccwgroup_probe_ccwdev, 290 .probe = ccwgroup_probe_ccwdev,
289 .remove = ccwgroup_remove_ccwdev, 291 .remove = ccwgroup_remove_ccwdev,