[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>
This commit is contained in:

committed by
Martin Schwidefsky

parent
9a26513eb6
commit
3bda058b0c
@@ -282,8 +282,10 @@ static struct ccw_device_id claw_ids[] = {
|
||||
MODULE_DEVICE_TABLE(ccw, claw_ids);
|
||||
|
||||
static struct ccw_driver claw_ccw_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "claw",
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "claw",
|
||||
},
|
||||
.ids = claw_ids,
|
||||
.probe = ccwgroup_probe_ccwdev,
|
||||
.remove = ccwgroup_remove_ccwdev,
|
||||
|
Reference in New Issue
Block a user