i2c: busses: 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:20:37 +02:00
parent a7629c70d0
commit 1ecc4335eb
49 ha cambiato i file con 0 aggiunte e 49 eliminazioni

Vedi File

@@ -313,7 +313,6 @@ static int smbus_sch_remove(struct platform_device *pdev)
static struct platform_driver smbus_sch_driver = {
.driver = {
.name = "isch_smbus",
.owner = THIS_MODULE,
},
.probe = smbus_sch_probe,
.remove = smbus_sch_remove,