aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2011-03-15 12:08:30 -0400
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-03-15 12:08:24 -0400
commite6aed122a9185d0fe5890f02ea8efc32c355bc44 (patch)
tree6d23dcb58c68f979258595b5021e05052767d4e5 /drivers/s390/cio/css.c
parent085ee9db88bebaadd6d54751b0ced8db486dddfc (diff)
[S390] css_driver: remove duplicate members
Remove the owner and name members of struct css_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/cio/css.c')
-rw-r--r--drivers/s390/cio/css.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index 24d8e97355b9..51eaed0d7662 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -1233,9 +1233,7 @@ struct bus_type css_bus_type = {
1233 */ 1233 */
1234int css_driver_register(struct css_driver *cdrv) 1234int css_driver_register(struct css_driver *cdrv)
1235{ 1235{
1236 cdrv->drv.name = cdrv->name;
1237 cdrv->drv.bus = &css_bus_type; 1236 cdrv->drv.bus = &css_bus_type;
1238 cdrv->drv.owner = cdrv->owner;
1239 return driver_register(&cdrv->drv); 1237 return driver_register(&cdrv->drv);
1240} 1238}
1241EXPORT_SYMBOL_GPL(css_driver_register); 1239EXPORT_SYMBOL_GPL(css_driver_register);