From patchwork Mon Apr 24 12:34:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 86954 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2637150vqo; Mon, 24 Apr 2023 03:22:19 -0700 (PDT) X-Google-Smtp-Source: AKy350bktEk7DQoO0f/7KNbuFdNKfOF6LL0bZW8yhVKujX7CtK+AudbPnTFY/jsoqy3OH98IdcRI X-Received: by 2002:a05:6a21:32aa:b0:f2:d89b:6653 with SMTP id yt42-20020a056a2132aa00b000f2d89b6653mr9921552pzb.57.1682331738896; Mon, 24 Apr 2023 03:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682331738; cv=none; d=google.com; s=arc-20160816; b=TiE9MBjBHU+0LMFYKBTd8xDyF0nqiiPvD0bxL8ngj0QyMc5sv6p9oOLESGyKCS18La HBOJn7EluBxAd0UbijC76WCZTyJqYVecd828MaJYKa22fWJtKLBFE/yTttlyF9oj7FIN wM6w7bDAjc9Jt4ShV8Su/YQ+VCQ3cubsOXtH77PD80r+ElYzEdY6N/IuhcObnSvkXjKY GJPcSNGlXnAuNZVd+pNptvmU0Lys6JUb9N6XhU8ZFo/PxWpsqpAF/XDf6MZVKCARR5uS 3x38dychFX6CrchAx+/ImcdDpPcl66yF8mEb6vsa1i/DbZeISiP2+vonBOwFbmnwt3zi niPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=ILW7HQf2U6XIRRdddf7sXhZXt2NIlcnnFnvadaw+a9k=; b=ZyGG8Afso60/lulo9RmcDbDUdahGHrFyE9mn8OZR0Pbm/f5zAlS1cn8qf9DshGpi8O fISYxd4iKd58ny0J9RbhkxbLxATiOe3TvfJ3p2tNZ8Iwc5CyX3fti5/HrnV3o8+JgPry Ubt70XEk6cYdSE12SzLNqPwUPfEYGC5dpXTxtYA1lFURL0ERTfwJTq8/X9BLID6mjqjk sU25ZXQZdTt16SBJ3E3mIgFJztkA/M1V+V/A54pEo5/ipgESIVVt+WzHArfSnhgbQ4Mh 4a0HLlN9AAXOCqlydiABZdgvc4gfF2tCI/yDhfmpRXeaHvh4nHEP2lXW2eerP70YBJUz 579g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=j5UN+nR4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i189-20020a6387c6000000b005181ce2302csi3864934pge.749.2023.04.24.03.22.06; Mon, 24 Apr 2023 03:22:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=j5UN+nR4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231663AbjDXKUq (ORCPT + 99 others); Mon, 24 Apr 2023 06:20:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231288AbjDXKUk (ORCPT ); Mon, 24 Apr 2023 06:20:40 -0400 Received: from forward501c.mail.yandex.net (forward501c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d501]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 277981BE6 for ; Mon, 24 Apr 2023 03:20:38 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward501c.mail.yandex.net (Yandex) with ESMTP id 3F6505EEE7; Mon, 24 Apr 2023 12:36:11 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-uIzrV9z0; Mon, 24 Apr 2023 12:36:10 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328970; bh=ILW7HQf2U6XIRRdddf7sXhZXt2NIlcnnFnvadaw+a9k=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=j5UN+nR4GxEPvjO303ZhccRQk/FFjdl6xNS8wrHhKOIAVHUoBwMU6Gx7cYyymH9yq hJqGkbWtQthzZTOLoCE75g/B4AUQtHYHOGc2luGeBAkiA/wps5ntf+0E7BNwgrmBRG uNmRACHMKjVHOO0DJo3RxdCYjDOByFIfLZp0PMG0= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Dmitry Torokhov , Andy Shevchenko , Jonathan Cameron , Lv Ruyi , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 37/43] input: keypad: ep93xx: drop legacy pinctrl Date: Mon, 24 Apr 2023 15:34:53 +0300 Message-Id: <20230424123522.18302-38-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764052685388882180?= X-GMAIL-MSGID: =?utf-8?q?1764052685388882180?= Drop legacy acquire/release since we are using pinctrl for this now. Signed-off-by: Nikita Shubin --- drivers/input/keyboard/ep93xx_keypad.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index bf77754fa4c7..a5f5d7d453e7 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c @@ -222,13 +222,6 @@ static int ep93xx_keypad_resume(struct device *dev) static DEFINE_SIMPLE_DEV_PM_OPS(ep93xx_keypad_pm_ops, ep93xx_keypad_suspend, ep93xx_keypad_resume); -static void ep93xx_keypad_release_gpio_action(void *_pdev) -{ - struct platform_device *pdev = _pdev; - - ep93xx_keypad_release_gpio(pdev); -} - static int ep93xx_keypad_probe(struct platform_device *pdev) { struct ep93xx_keypad *keypad; @@ -256,15 +249,6 @@ static int ep93xx_keypad_probe(struct platform_device *pdev) if (IS_ERR(keypad->mmio_base)) return PTR_ERR(keypad->mmio_base); - err = ep93xx_keypad_acquire_gpio(pdev); - if (err) - return err; - - err = devm_add_action_or_reset(&pdev->dev, - ep93xx_keypad_release_gpio_action, pdev); - if (err) - return err; - keypad->clk = devm_clk_get(&pdev->dev, NULL); if (IS_ERR(keypad->clk)) return PTR_ERR(keypad->clk);