Commit 10055c6f authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman

Staging: kpc2000: kpc_dma: Fix platform_no_drv_owner.cocci warnings

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 avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 670a44c1
...@@ -197,7 +197,6 @@ static struct platform_driver kpc_dma_plat_driver_i = { ...@@ -197,7 +197,6 @@ static struct platform_driver kpc_dma_plat_driver_i = {
.remove = kpc_dma_remove, .remove = kpc_dma_remove,
.driver = { .driver = {
.name = KP_DRIVER_NAME_DMA_CONTROLLER, .name = KP_DRIVER_NAME_DMA_CONTROLLER,
.owner = THIS_MODULE,
}, },
}; };
......
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