OSDN Git Service

staging: fsl-mc: remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 15 Sep 2016 02:27:27 +0000 (02:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 08:22:35 +0000 (10:22 +0200)
Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/fsl-mc-allocator.c

index 1e06d28..e93ab53 100644 (file)
@@ -650,7 +650,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,