Commit 919edd51 authored by Wei Yongjun's avatar Wei Yongjun Committed by Wim Van Sebroeck

watchdog: pic32-dmt: Remove .owner field for driver

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent aa4614d1
...@@ -245,7 +245,6 @@ static struct platform_driver pic32_dmt_driver = { ...@@ -245,7 +245,6 @@ static struct platform_driver pic32_dmt_driver = {
.remove = pic32_dmt_remove, .remove = pic32_dmt_remove,
.driver = { .driver = {
.name = "pic32-dmt", .name = "pic32-dmt",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(pic32_dmt_of_ids), .of_match_table = of_match_ptr(pic32_dmt_of_ids),
} }
}; };
......
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