scsi: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Wolfram Sang 2014-10-20 16:21:33 +02:00
Родитель 7cafb31ca4
Коммит b36069c833
11 изменённых файлов: 0 добавлений и 11 удалений

Просмотреть файл

@ -276,7 +276,6 @@ static struct platform_driver amiga_a3000_scsi_driver = {
.remove = __exit_p(amiga_a3000_scsi_remove), .remove = __exit_p(amiga_a3000_scsi_remove),
.driver = { .driver = {
.name = "amiga-a3000-scsi", .name = "amiga-a3000-scsi",
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -112,7 +112,6 @@ static struct platform_driver amiga_a4000t_scsi_driver = {
.remove = __exit_p(amiga_a4000t_scsi_remove), .remove = __exit_p(amiga_a4000t_scsi_remove),
.driver = { .driver = {
.name = "amiga-a4000t-scsi", .name = "amiga-a4000t-scsi",
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -105,7 +105,6 @@ bvme6000_device_remove(struct platform_device *dev)
static struct platform_driver bvme6000_scsi_driver = { static struct platform_driver bvme6000_scsi_driver = {
.driver = { .driver = {
.name = "bvme6000-scsi", .name = "bvme6000-scsi",
.owner = THIS_MODULE,
}, },
.probe = bvme6000_probe, .probe = bvme6000_probe,
.remove = bvme6000_device_remove, .remove = bvme6000_device_remove,

Просмотреть файл

@ -226,7 +226,6 @@ static struct platform_driver esp_jazz_driver = {
.remove = esp_jazz_remove, .remove = esp_jazz_remove,
.driver = { .driver = {
.name = "jazz_esp", .name = "jazz_esp",
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -617,7 +617,6 @@ static struct platform_driver esp_mac_driver = {
.remove = esp_mac_remove, .remove = esp_mac_remove,
.driver = { .driver = {
.name = DRV_MODULE_NAME, .name = DRV_MODULE_NAME,
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -126,7 +126,6 @@ static int mvme16x_device_remove(struct platform_device *dev)
static struct platform_driver mvme16x_scsi_driver = { static struct platform_driver mvme16x_scsi_driver = {
.driver = { .driver = {
.name = "mvme16x-scsi", .name = "mvme16x-scsi",
.owner = THIS_MODULE,
}, },
.probe = mvme16x_probe, .probe = mvme16x_probe,
.remove = mvme16x_device_remove, .remove = mvme16x_device_remove,

Просмотреть файл

@ -1455,7 +1455,6 @@ MODULE_DEVICE_TABLE(of, qpti_match);
static struct platform_driver qpti_sbus_driver = { static struct platform_driver qpti_sbus_driver = {
.driver = { .driver = {
.name = "qpti", .name = "qpti",
.owner = THIS_MODULE,
.of_match_table = qpti_match, .of_match_table = qpti_match,
}, },
.probe = qpti_sbus_probe, .probe = qpti_sbus_probe,

Просмотреть файл

@ -315,7 +315,6 @@ static struct platform_driver sgiwd93_driver = {
.remove = sgiwd93_remove, .remove = sgiwd93_remove,
.driver = { .driver = {
.name = "sgiwd93", .name = "sgiwd93",
.owner = THIS_MODULE,
} }
}; };

Просмотреть файл

@ -137,7 +137,6 @@ static struct platform_driver snirm710_driver = {
.remove = snirm710_driver_remove, .remove = snirm710_driver_remove,
.driver = { .driver = {
.name = "snirm_53c710", .name = "snirm_53c710",
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -295,7 +295,6 @@ static struct platform_driver esp_sun3x_driver = {
.remove = esp_sun3x_remove, .remove = esp_sun3x_remove,
.driver = { .driver = {
.name = "sun3x_esp", .name = "sun3x_esp",
.owner = THIS_MODULE,
}, },
}; };

Просмотреть файл

@ -633,7 +633,6 @@ MODULE_DEVICE_TABLE(of, esp_match);
static struct platform_driver esp_sbus_driver = { static struct platform_driver esp_sbus_driver = {
.driver = { .driver = {
.name = "esp", .name = "esp",
.owner = THIS_MODULE,
.of_match_table = esp_match, .of_match_table = esp_match,
}, },
.probe = esp_sbus_probe, .probe = esp_sbus_probe,