From patchwork Fri Mar 16 22:47:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 887211 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YYsmeop+"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4030vm5KTsz9sMQ for ; Sat, 17 Mar 2018 09:47:16 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751719AbeCPWrP (ORCPT ); Fri, 16 Mar 2018 18:47:15 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:46323 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751348AbeCPWrO (ORCPT ); Fri, 16 Mar 2018 18:47:14 -0400 Received: by mail-qt0-f194.google.com with SMTP id h4so6747457qtn.13 for ; Fri, 16 Mar 2018 15:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=4MR6nrCQPTvKMoDcWfAyCpykXVXtUaOQWxtkz5x+LO8=; b=YYsmeop+MysPJf36HEtj6bP51w6jIKU3L+WUcZQnWeF134ykb8a2ULd8LhMZMqGZHh NKYiXX9xNxtqoPOPvtNbrdyZz2+5iLNED6lgI8DpZl0QDTLbHiur9BauJsbcJkJQeDx4 M/SxL+GtjjhRZMftCVYCV4WLM7d8GxhidHAwqpd8xgCTQ44epRkhj9Z4hDFOTh8b0MdZ 3kx+RzhbB/Yw8K1n+H2U8CWZWwHwgwAqkIcJZrX1E+HBOGBwfoT+fNiYk1DDt35xQxdC dBd+rEC5zYMa1RhdGtwyca7pWrmkNXi60ZcXhm9oU4jrB6KE7j4sXBxxPAf0PfCZ7nJg SCKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4MR6nrCQPTvKMoDcWfAyCpykXVXtUaOQWxtkz5x+LO8=; b=PFg3OcDfBCcK7r4d+xyYYZpx74weW5fBjvKAQ+VSdgd70SQfokzj6cr0HlRczWshih LcxQcxLccnDT2KnFVQn91rhNsg5LPGZUQQJkJB/YO7UamzoYQlVCVhXsx+EquEM/9D7H l69CFRupX0tW60RNeYyG3nuSIC5J5tR66ofJrTZQgozOnGJ354ItrSmnWlSvfJIbP/F1 uWfrBCokgr2ycVA/d5Qxo6FsW799lU7mtHqF3HiIi+ji3ta+t8qDFI/mArgrypuSwpO1 VpjkDqQVL6QsdjetxLGass/OJIRx40CzalauvO/bFiiSFQEBnmaVMc6ATqZvW5Ebc+tG E6Rg== X-Gm-Message-State: AElRT7Gf5XwCa7CkS/I9qV2PGDKhK2J9X2mSENgCzvUzsVU5O7fxJHfa chvT6zwbgZzi7OWJ4QvAlLE= X-Google-Smtp-Source: AG47ELsnvkz3DwNesI/myuS+sTZQJMmDKHlb14bvv4hrdGAzygRyiZmBYPkDrNDbHKVITTKJgBUPBQ== X-Received: by 10.200.41.139 with SMTP id 11mr5429903qts.247.1521240434227; Fri, 16 Mar 2018 15:47:14 -0700 (PDT) Received: from localhost.localdomain ([187.180.180.110]) by smtp.gmail.com with ESMTPSA id e21sm6525541qta.4.2018.03.16.15.47.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 16 Mar 2018 15:47:13 -0700 (PDT) From: Fabio Estevam To: linus.walleij@linaro.org Cc: bjorn.andersson@linaro.org, linux-gpio@vger.kernel.org, Fabio Estevam Subject: [PATCH] pinctrl: msm8998: Remove owner assignment from platform_driver Date: Fri, 16 Mar 2018 19:47:01 -0300 Message-Id: <1521240421-4459-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Fabio Estevam platform_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam --- drivers/pinctrl/qcom/pinctrl-msm8998.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/qcom/pinctrl-msm8998.c b/drivers/pinctrl/qcom/pinctrl-msm8998.c index c339531..00d7b94 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm8998.c +++ b/drivers/pinctrl/qcom/pinctrl-msm8998.c @@ -1566,7 +1566,6 @@ static const struct of_device_id msm8998_pinctrl_of_match[] = { static struct platform_driver msm8998_pinctrl_driver = { .driver = { .name = "msm8998-pinctrl", - .owner = THIS_MODULE, .of_match_table = msm8998_pinctrl_of_match, }, .probe = msm8998_pinctrl_probe,