From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] dma: fix platform_no_drv_owner.cocci warnings Date: Fri, 30 Oct 2015 12:34:08 +0800 Message-ID: <20151030043408.GA80488@cairo> References: <201510301229.VB4UX8GG%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1446174501-8870-1-git-send-email-okaya-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org, dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, timur-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, cov-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, jcm-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Sinan Kaya , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Vinod Koul , Dan Williams , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org drivers/dma/qcom_hidma_mgmt.c:852:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Sinan Kaya Signed-off-by: Fengguang Wu --- qcom_hidma_mgmt.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/dma/qcom_hidma_mgmt.c +++ b/drivers/dma/qcom_hidma_mgmt.c @@ -849,7 +849,6 @@ static struct platform_driver qcom_hidma .remove = qcom_hidma_mgmt_remove, .driver = { .name = MODULE_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(qcom_hidma_mgmt_match), .acpi_match_table = ACPI_PTR(qcom_hidma_mgmt_acpi_ids), }, -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html