Commit 5bffbda7 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Andi Shyti

i2c: viperboard: drop driver owner assignment

Core in platform_driver_register() already sets the .owner, so driver
does not need to.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent a45f95d7
......@@ -416,7 +416,6 @@ static void vprbrd_i2c_remove(struct platform_device *pdev)
static struct platform_driver vprbrd_i2c_driver = {
.driver.name = "viperboard-i2c",
.driver.owner = THIS_MODULE,
.probe = vprbrd_i2c_probe,
.remove_new = vprbrd_i2c_remove,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment