diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-04-24 02:51:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 12:01:31 +0200 |
commit | 8abd537256f58c1e502c01fc4112afcf7c4eda96 (patch) | |
tree | 07650251d754238b389f2868972fdb3ce7d4fd3f /drivers/staging/kpc2000 | |
parent | 8e77ebce6e3f21c7a2fa400f1cf6dae7d97ad466 (diff) | |
download | blackbird-op-linux-8abd537256f58c1e502c01fc4112afcf7c4eda96.tar.gz blackbird-op-linux-8abd537256f58c1e502c01fc4112afcf7c4eda96.zip |
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: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000')
-rw-r--r-- | drivers/staging/kpc2000/kpc_spi/spi_driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/kpc2000/kpc_spi/spi_driver.c b/drivers/staging/kpc2000/kpc_spi/spi_driver.c index b38149b752fb..63b4616bf538 100644 --- a/drivers/staging/kpc2000/kpc_spi/spi_driver.c +++ b/drivers/staging/kpc2000/kpc_spi/spi_driver.c @@ -496,7 +496,6 @@ kp_spi_remove(struct platform_device *pldev) static struct platform_driver kp_spi_driver = { .driver = { .name = KP_DRIVER_NAME_SPI, - .owner = THIS_MODULE, }, .probe = kp_spi_probe, .remove = kp_spi_remove, |