Commit 8abd5372 authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman

staging: kpc2000: 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 8e77ebce
...@@ -496,7 +496,6 @@ kp_spi_remove(struct platform_device *pldev) ...@@ -496,7 +496,6 @@ kp_spi_remove(struct platform_device *pldev)
static struct platform_driver kp_spi_driver = { static struct platform_driver kp_spi_driver = {
.driver = { .driver = {
.name = KP_DRIVER_NAME_SPI, .name = KP_DRIVER_NAME_SPI,
.owner = THIS_MODULE,
}, },
.probe = kp_spi_probe, .probe = kp_spi_probe,
.remove = kp_spi_remove, .remove = kp_spi_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