Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5381019rwr; Mon, 24 Apr 2023 03:22:02 -0700 (PDT) X-Google-Smtp-Source: AKy350bsJ7GKq2B+qrMAsr468HbYRQH6wfGm0CakNL01TW9wlVjKSxke8/GDMh6OaPHW5uQ2Z20Z X-Received: by 2002:a17:902:e9c6:b0:1a5:1bb4:adb1 with SMTP id 6-20020a170902e9c600b001a51bb4adb1mr14768748plk.37.1682331722427; Mon, 24 Apr 2023 03:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682331722; cv=none; d=google.com; s=arc-20160816; b=mdHx0DCPvNuEHXibUNMR87/2QGvzocp7yvqWoTGglqWTJ5npzKQV+q2OPLh0rAZ7/o JzH4eLL1l19Ey1uesqbtJDRWpQ4AhvcQH5RIKhWyt2vMGMSBIvxqW2vkJyMXoxODvHju U2clh5YoYX4lLRJs3PkSL870YY/AJXQBLbOW7MOtmeWTkXLT2gcernCxXcf0b94gbEEA V9P9rpOHbRGDOpq21e+fswE2qDXKYhXniQwRiDpS6KKzuZxkzhKiUVY8dWnJ4l0cwmZo 4u+D5cK/fpiBJzp6q69KyTCEU1JLsAT6klDsONlv8FMsB8srXDK93P+b/DX1nRnd6frq 0kXw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k2-20020a170902ce0200b001a64a25c7fbsi10645323plg.23.2023.04.24.03.21.48; Mon, 24 Apr 2023 03:22:02 -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 S231659AbjDXKUp (ORCPT + 99 others); Mon, 24 Apr 2023 06:20:45 -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 Content-Transfer-Encoding: 8bit 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 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); -- 2.39.2