mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
i2c: viperboard: drop driver owner assignment
Core in platform_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
This commit is contained in:
parent
a45f95d748
commit
5bffbda7ad
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue