sbus: char: 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:
parent
f3326ec8a4
commit
7cafb31ca4
|
@ -413,7 +413,6 @@ MODULE_DEVICE_TABLE(of, bbc_i2c_match);
|
||||||
static struct platform_driver bbc_i2c_driver = {
|
static struct platform_driver bbc_i2c_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "bbc_i2c",
|
.name = "bbc_i2c",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = bbc_i2c_match,
|
.of_match_table = bbc_i2c_match,
|
||||||
},
|
},
|
||||||
.probe = bbc_i2c_probe,
|
.probe = bbc_i2c_probe,
|
||||||
|
|
|
@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, d7s_match);
|
||||||
static struct platform_driver d7s_driver = {
|
static struct platform_driver d7s_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRIVER_NAME,
|
.name = DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = d7s_match,
|
.of_match_table = d7s_match,
|
||||||
},
|
},
|
||||||
.probe = d7s_probe,
|
.probe = d7s_probe,
|
||||||
|
|
|
@ -1130,7 +1130,6 @@ MODULE_DEVICE_TABLE(of, envctrl_match);
|
||||||
static struct platform_driver envctrl_driver = {
|
static struct platform_driver envctrl_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = DRIVER_NAME,
|
.name = DRIVER_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = envctrl_match,
|
.of_match_table = envctrl_match,
|
||||||
},
|
},
|
||||||
.probe = envctrl_probe,
|
.probe = envctrl_probe,
|
||||||
|
|
|
@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, flash_match);
|
||||||
static struct platform_driver flash_driver = {
|
static struct platform_driver flash_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "flash",
|
.name = "flash",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = flash_match,
|
.of_match_table = flash_match,
|
||||||
},
|
},
|
||||||
.probe = flash_probe,
|
.probe = flash_probe,
|
||||||
|
|
|
@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, uctrl_match);
|
||||||
static struct platform_driver uctrl_driver = {
|
static struct platform_driver uctrl_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "uctrl",
|
.name = "uctrl",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = uctrl_match,
|
.of_match_table = uctrl_match,
|
||||||
},
|
},
|
||||||
.probe = uctrl_probe,
|
.probe = uctrl_probe,
|
||||||
|
|
Loading…
Reference in New Issue