diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2011-03-23 10:16:02 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-03-23 10:15:59 +0100 |
commit | 3bda058b0c39fc72188116d2fd71af08dd0fe5b0 (patch) | |
tree | 94d2cb60f495ebb6b14b40ad9e23feb9ba001ce9 /drivers/s390/char/raw3270.c | |
parent | [S390] qdio: prevent handling of buffers if count is zero (diff) | |
download | linux-3bda058b0c39fc72188116d2fd71af08dd0fe5b0.tar.xz linux-3bda058b0c39fc72188116d2fd71af08dd0fe5b0.zip |
[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/raw3270.c')
-rw-r--r-- | drivers/s390/char/raw3270.c | 6 |
1 files changed, 4 insertions, 2 deletions
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[] = { }; static struct ccw_driver raw3270_ccw_driver = { - .name = "3270", - .owner = THIS_MODULE, + .driver = { + .name = "3270", + .owner = THIS_MODULE, + }, .ids = raw3270_id, .probe = &raw3270_probe, .remove = &raw3270_remove, |