staging: fsl-mc: remove .owner field for driver
PATCH 1/1 staging: fsl-mc: remove .owner field for driver
From: Wei Yongjun <[email protected]>
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
--- drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 1 - 1 file changed, 1 deletion(-)
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +0 -1
@@ -652,7 +652,6 @@ static const struct fsl_mc_device_id match_id_table[] = {static struct fsl_mc_driver fsl_mc_allocator_driver = { .driver = { .name ="fsl_mc_allocator" , - .owner =THIS_MODULE , .pm =NULL , }, .match_id_table = match_id_table,
Quoted 28 lines
-----Original Message-----
From: Wei Yongjun [mailto:[email protected]]
Sent: Wednesday, September 14, 2016 9:27 PM
To: J . German Rivera <[email protected]>; Stuart Yoder <[email protected]>; Greg Kroah- Hartman <[email protected]>; German Rivera <[email protected]>; Itai Katz <[email protected]>
Cc: Wei Yongjun <[email protected]>; [email protected]; [email protected]
Subject: [PATCH -next] staging: fsl-mc: remove .owner field for driverFrom: Wei Yongjun <[email protected]>
Remove .owner field if calls are used which set it automatically.
Generated by:
scripts/coccinelle/api/platform_no_drv_owner.cocciSigned-off-by Wei Yongjun <[email protected]>--- drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 1 - 1 file changed, 1 deletion(-)drivers/staging/fsl-mc/bus/fsl-mc- renamed from drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +0
-0
allocator.c
index 2004fa7..1a35cfb 100644
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c static const struct fsl_mc_device_id match_id_table[] = { · line 657
Quoted 7 lines
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +0
-1@@ -652,7 +652,6 @@ static const struct fsl_mc_device_id match_id_table[] = {static struct fsl_mc_driver fsl_mc_allocator_driver = { .driver = { .name ="fsl_mc_allocator" , - .owner =THIS_MODULE , .pm =NULL , }, .match_id_table = match_id_table,