Skip to content

Commit

Permalink
Staging: kpc2000: kpc_dma: Fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
YueHaibing authored and Greg Kroah-Hartman committed Jun 21, 2019
1 parent 670a44c commit 10055c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ static struct platform_driver kpc_dma_plat_driver_i = {
.remove = kpc_dma_remove,
.driver = {
.name = KP_DRIVER_NAME_DMA_CONTROLLER,
.owner = THIS_MODULE,
},
};

Expand Down

0 comments on commit 10055c6

Please sign in to comment.