mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 05:30:54 +07:00
of: Drop owner assignment from platform and i2c driver
platform_driver and i2c_driver do not need to set an owner because core will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
3b6e644e65
commit
599ad5ac9a
@ -979,7 +979,6 @@ static struct platform_driver unittest_driver = {
|
|||||||
.remove = unittest_remove,
|
.remove = unittest_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "unittest",
|
.name = "unittest",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(unittest_match),
|
.of_match_table = of_match_ptr(unittest_match),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -1666,7 +1665,6 @@ static const struct i2c_device_id unittest_i2c_dev_id[] = {
|
|||||||
static struct i2c_driver unittest_i2c_dev_driver = {
|
static struct i2c_driver unittest_i2c_dev_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "unittest-i2c-dev",
|
.name = "unittest-i2c-dev",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = unittest_i2c_dev_probe,
|
.probe = unittest_i2c_dev_probe,
|
||||||
.remove = unittest_i2c_dev_remove,
|
.remove = unittest_i2c_dev_remove,
|
||||||
@ -1761,7 +1759,6 @@ static const struct i2c_device_id unittest_i2c_mux_id[] = {
|
|||||||
static struct i2c_driver unittest_i2c_mux_driver = {
|
static struct i2c_driver unittest_i2c_mux_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "unittest-i2c-mux",
|
.name = "unittest-i2c-mux",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = unittest_i2c_mux_probe,
|
.probe = unittest_i2c_mux_probe,
|
||||||
.remove = unittest_i2c_mux_remove,
|
.remove = unittest_i2c_mux_remove,
|
||||||
|
Loading…
Reference in New Issue
Block a user