From patchwork Wed May 25 05:58:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 68559 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp1028632qge; Tue, 24 May 2016 22:59:21 -0700 (PDT) X-Received: by 10.98.20.197 with SMTP id 188mr3106854pfu.144.1464155961041; Tue, 24 May 2016 22:59:21 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xk1si10237981pab.53.2016.05.24.22.59.20; Tue, 24 May 2016 22:59:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754717AbcEYF7T (ORCPT + 4 others); Wed, 25 May 2016 01:59:19 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:48727 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754623AbcEYF7T (ORCPT ); Wed, 25 May 2016 01:59:19 -0400 Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id u4P5vrSR003304; Wed, 25 May 2016 14:57:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com u4P5vrSR003304 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1464155874; bh=vJyZP3anI1YdRnEOCCpAZLd14QXPme4ULNWjjJnTxgQ=; h=From:To:Cc:Subject:Date:From; b=cIvB5U/4eWsLC4XyWfK8iF9wGZEWlCM3cDxBgO3jv75Dx6T40qqrzirAr0bWGaKz+ rl0olPazn5EQueI843ziFZTOPr0K0KHLXJHHKiiO1WDQ/NpOXVAobXjCheDDQhrnGH HggEQW0OVxbHdejCqPj9vF26p6ykEhwQ/b1Qr3xodm5MgocoVhfCPlz7qjCQcrOZEF oY/QzSrz4XmKNvFXShUov8B9UKIWQyGA0MAWeQsHJOkBvSDdRyO7wsv8xq4BusRS88 C8+9YvF1IvzmiBQrZhMrKNo/TCza7/VIKqFZDsnoTt7fEIGjjf01gOqUNRc0AHSt7Y eFLD32obptnIA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Cc: Masahiro Yamada , Baruch Siach , Linus Walleij , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] pinctrl: digicolor: add missing platform_set_drvdata() call Date: Wed, 25 May 2016 14:58:52 +0900 Message-Id: <1464155932-25344-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org gc_pinctrl_remove() calls platform_get_drvdata(), but I see neither platform_set_drvdata() nor dev_set_drvdata() anywhere in this driver. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/pinctrl-digicolor.c | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pinctrl/pinctrl-digicolor.c b/drivers/pinctrl/pinctrl-digicolor.c index 30ee564..c8073d4 100644 --- a/drivers/pinctrl/pinctrl-digicolor.c +++ b/drivers/pinctrl/pinctrl-digicolor.c @@ -332,6 +332,8 @@ static int dc_pinctrl_probe(struct platform_device *pdev) return PTR_ERR(pmap->pctl); } + platform_set_drvdata(pdev, pmap); + return dc_gpiochip_add(pmap, pdev->dev.of_node); }