mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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>
This commit is contained in:
parent
8e77ebce6e
commit
8abd537256
1 changed files with 0 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue