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/lcs.c | |
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/lcs.c')
-rw-r--r-- | drivers/s390/net/lcs.c | 6 |
1 files changed, 4 insertions, 2 deletions
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, |