Message ID | 20241228-wake_irq-v1-2-09cfca77cd47@nxp.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBDFCE7718B for <linux-riscv@archiver.kernel.org>; Sat, 28 Dec 2024 01:19:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=QQmMYxstYtBHPXqNpTGLlFnw2eRfTGeWpThEeiHMnuU=; b=Br1J9eJrhGCgJsrwVVnmnP/Lyw uVtfvreWyxJm3sIKI9RDNuQ2v2t7acL7Vb1+ipHbe+rlhHfiAWDpqHfiyCst7Oj7PYZsJhZl5T4+k +I1rtO8tziKgvo5wL6JTK2KXaAIkGZyXe7T0LBFvDKLJKm03EAcO9fwYzb9WJLM9NrcGu5AgO75Fe tJuF06RUxqBqPWHhU6Ljvh8nPdHl3i4XTlWDEW0STxqr+fiq8RehnOMcmdbTkqeMuXHky4CRWUSmr 8skH9MEqPVx1/d9ArMypnUjvYIWw44e05o2nEsr4c19ucjcPrHhzLnGuujiOLhK1WXTF51lo0eS8m prOHqxKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tRLTu-00000001C20-3Sip; Sat, 28 Dec 2024 01:19:06 +0000 Received: from mail-am6eur05on20621.outbound.protection.outlook.com ([2a01:111:f403:2612::621] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tRLQS-00000001B7s-39C9; Sat, 28 Dec 2024 01:15:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AqDXq0jdL/wwgfH3YPvYabWCXmYalSsxlGH4OzWpUbk1frs0Ek3ybPi4AKE24Fvs2PLOv6lEZyoCbTOcCItF3MHLg6Ii/VGZx79zL7NM+Eqe6VjsETuoX49dQ0hvP9xt1EUmuVdoD6VsWX8iJps40kHhhHaye0XO1Cy6aDff556eSYVNvYt6DJcVBlZJONHOJ32R3SD4qERjQ/A4rjdqz660TZfZVDogEWqom6q+paMhWXtYao7vJHD23U02U2Mcd2kRngFP2OVJS4e2KUzZ8umInEtok17P8bcw8BiFdTk0SqVWbrkt/HcJ+CT8xl0FYV03YYlJLyrrMo9sMv5gaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zBJXBX/BlDu3iR52lDbc09nZRQMR+H0jkQvpTPg3SOY=; b=vSs+X/kBp3fWnVmsTLg7S9+o9wn749zyjP57Y4E7XDh+CslRXhQHVhSZLoTFlZu0sW9luqttbB+ROLGriUKwcq3IkFbwaf6IcaPIr4D135zHw2D3rMNGRyCE+A3zkZjJxeZPm55DtQxovdbXT9jPhVN6/fbXzNMixLwLBBmYWGjZLcSF481stRB+en3wQeuiN5wh5FXfETgWAMBxWAEdnqgs/jxoVVJczUIocmYPd2nQw8CrBAVHYedvM+wM0r0ZnpEmQIPfYl2B7L+UkAOi2rTN32/KrNRN1bSs0XHUrP0re5XfIuGFTo+4GsHIRHiOADYrYYJVJb7oJu4Z2oRqnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zBJXBX/BlDu3iR52lDbc09nZRQMR+H0jkQvpTPg3SOY=; b=KGSpnsMnAzbmgAwnWh1MAH1hEuH+LCsNs7l2E9znPIarEFdJ5i1A3sSRFEclWX4hZUQsFAPuLD0+BqdU4hII/5+FU9+POI7iI4RSLsQ4055z7DnaPXIUyYh7Qk+X8f2ov2BJQalv5N5sNscUd1VNU+nryJFSxKZ+urvypz6V50BpgsybtORaghuFWOVCe9ugAf8gJTWsAR6HL3ufcrG0iILabXXaFJk6sRwW1TBEN0fx3IhVbYGtyK49gYF0i9aDkhLpl0G/wR7wE1eEhJT5ng20B9AB+FAoGBAqcbQA8sHLagUvNQfsYbRc1W580++DUL7pP4FfCfKs/EykeTEwqQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by AM0PR04MB7140.eurprd04.prod.outlook.com (2603:10a6:208:192::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8293.15; Sat, 28 Dec 2024 01:15:23 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%5]) with mapi id 15.20.8293.000; Sat, 28 Dec 2024 01:15:23 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Sat, 28 Dec 2024 09:14:38 +0800 Subject: [PATCH 02/12] input: keyboard: ep93xx_keypad: Use devm_pm_set_wake_irq Message-Id: <20241228-wake_irq-v1-2-09cfca77cd47@nxp.com> References: <20241228-wake_irq-v1-0-09cfca77cd47@nxp.com> In-Reply-To: <20241228-wake_irq-v1-0-09cfca77cd47@nxp.com> To: "Rafael J. Wysocki" <rafael@kernel.org>, Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Linus Walleij <linus.walleij@linaro.org>, Conor Dooley <conor.dooley@microchip.com>, Daire McNamara <daire.mcnamara@microchip.com> Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-rtc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-riscv@lists.infradead.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1735348488; l=1402; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=lLk6bV9Q4qc+HUdwJdc/NyACnoatpwVUWdW9RwekWXs=; b=5OdW9htTwL8MFAvAyBNZ/2f0h1+VWymLzScDuYIdMdyOM5rQUUci7IzEeTZuelTVx/ZYACjxB CAm5iCzf4BsBX1SdaFUQCpoOFQWyqSIZjUtSq/FsN5iH1g7wLMYaf38 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR02CA0099.apcprd02.prod.outlook.com (2603:1096:4:92::15) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|AM0PR04MB7140:EE_ X-MS-Office365-Filtering-Correlation-Id: af5dd577-acd6-441c-2c9d-08dd26dd1ab4 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|7416014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?C5SannMBWLGS+S3dOqTvYFYklgzgS6C?= =?utf-8?q?kAS5i7tXkS82bic34wHyiOjtFHnHHywZxIB4bQ3SrqdBp7uer3xzu+tXsXfHR7jRm?= =?utf-8?q?mKqD7lJBsOg/R6uWxpbih6AKAuhEd/Lv4868oJQglxD/dUTZvmufjx4vLo3GMNhK7?= =?utf-8?q?/8PHyyPwlPBxMAU/6YK3ZpZaMScwGFHMps9J6vwDXWHXrL5NNQnNh11sqcdiTh7xn?= =?utf-8?q?r0MHC3q09tjRMEa7TFaQwkM3LIinfkmC1I9akB2dR5iiPnnmarGOkI5R5qQqLOHIQ?= =?utf-8?q?/wXoVhVLVjKGSLp6nx+QcJJEg3AI9PpMJ7kluvie8D3nA6Ar9qOL2oCqZBya3ucNq?= =?utf-8?q?86fJgqcIRMZBv98YugZCtVpWqIiwkp8eR0RE3nw9r1gP4W0HYYc+IP9qj85izRhKc?= =?utf-8?q?YLFyQP/O6ysH94LkUWCi9ic926/cBQPVBi84XjDsaezpXQ5eu24xrdprkWiL88JKe?= =?utf-8?q?icJ6hUVZ8DJdFtwDZ2LqcStxFIAphnO3b10EGw77dB98s3fSRTpPBgl6K61TK2fMm?= =?utf-8?q?QHLhTrrqG7qZpGsI0CVXwqm5O3V23fFVpPbUyI2NBuW5/MpvNFR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LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(376014)(7416014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nvhZGXsWbB84VBdAB+VwDoHQGc6g?= =?utf-8?q?PpxwEvRbdEMQKQ+ohlAaVzLsJ2Z2sm8CS7ys7AfVeIBlLD0Hk8AfL10QRFv5+qtdG?= =?utf-8?q?skQy/hd8CQEXYRc5XGRQ6BdFhe1/cB09OIQFy1sR5ft7gXPQo/EXRg8XsnBbh7dyr?= =?utf-8?q?gKPNKJdnPcT31xbzmfD/UB5b9cg3d4WFcRnJhYG/WJsEl0dz9IQvTyUGFz47Vvy3i?= =?utf-8?q?NSpy6ZgyzdGCY27hD7+K0/mqrMTeIWsTyY9S3pchgeutiPBu8x/hdO57Dtqqu/GcN?= =?utf-8?q?Kka/tDPI5EZNm2qnbpclAjwAsllliLj1XaK0OFe7Bqsx2i2iBrdyiEngSFCXJmONU?= =?utf-8?q?ldBSSm7EdMK5IhXtY2Ar+blUFLujqK6zZ0Li69VvTTxphoDFNjia71qlp8FuzUEl0?= =?utf-8?q?TsGozkLafFOUyp6EKsw85BIzS4cCuXZDE40y8ks7O7v3Ii/6/x5+05RJ1QXBO4TC/?= =?utf-8?q?yLceJ/2UApAKbM8lZSz0QkZfRq6N0fWdfRIWrQmcgv2/Xzg6a52ggnenaTou8jfLW?= =?utf-8?q?FXJGc/a5pjt6ZgkNSZvJal2WHWRfz91t+DDVHHG4kD9wjlPrDQQdMMEONgF1q31BJ?= =?utf-8?q?IIup7UtXv1eF4p/SzyFkzGaKKWyR5xJDNM9zRti2wOjY3wfybwU70adwhza1JTPb6?= =?utf-8?q?pLH2piLHuMSUEaPI2d/xmzGldu6dfMeG6JKc4hdkHVq3KPWeuVWl07BAwfmbTdAO4?= =?utf-8?q?ihaf4scjWpCcUscwo+NQeUmRUABIoLxww5mbizygsxrEx4j2KGzll6K9pM4TBjmXJ?= =?utf-8?q?xYoxcZ0qMCz5szDzeBJR8QqVzzw9+noECSVJ9pxsU9B+j8M4t57B68IHViOemPAqn?= =?utf-8?q?aAvZ2dnJJC/fXr8IPQRWPsL9MXZFuHwNdq3IRuH8MXOQx8kRzEcchyMco1zOQnbOO?= =?utf-8?q?UjqMISdVkUcP58HsFX5D2MowL50WIcjZiY0+8NwEkYDRHGb5C1i7xNt0d1Kpx4IKo?= =?utf-8?q?HX+OWe5duf2wADumLRf+nGWQAU9pna/xruhgoVMM9251WD82ciZVKHtlDwNFQHe5O?= =?utf-8?q?kQijyh87NYZi27CPiST2hrlv0uR60X38IGTdMx0fgCc65DRBAEdn0Df9c0/S0Jc60?= =?utf-8?q?ia6f0DXF+kAguVchQn68aW+n21QBZ9OxLiWR6hayB52VUPrbfOLEDj2j/DGIT3G+w?= =?utf-8?q?YkR/Cl9ueld+xXDmLGqPMlAQNsmDkSojokx8pK2rxFuWZeelQdx+VQUJwR/8mK/q8?= =?utf-8?q?kJUl0Bv77n899T/pgU+L+n8wXnP7Hf1LUNQoJoaf4jhhdMRyjgtZV+2SW/RTtgevh?= =?utf-8?q?+d5Y9CPfOmpP0//31l0bRniqFJcuPJEqKVJyIWY3ZE760hoxNuoFxiXWpl3a5hnPv?= =?utf-8?q?AwgW1CQxQAuUibG9wTuK0K9EgAXUXPKprzkAeLBfv/uiVF/ERMOGz7y5/uoVn/+Qg?= =?utf-8?q?mwiZv72JgcTZpYW73/xZtIAVnnQX9Q84qDHuO0Im6J53yFy7E0NJk4C+aez6eKt4M?= =?utf-8?q?2Ww25QaMNVzq3qQSG1bd26NQKa4MwzJ24W/gC2yDZ8aOzTBiOUrn7PVMTdZ2qR8vo?= =?utf-8?q?BsC/wCWNDMWK?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: af5dd577-acd6-441c-2c9d-08dd26dd1ab4 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2024 01:15:23.5158 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LM0zqJEORufJ8hy1wQpfzRbClrJ4fHBq4b49P5JnEm5v1slV/x3WUf8D/eWqw7T3KCpy11bpsluupP/mcawKxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB7140 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241227_171532_809917_D0699576 X-CRM114-Status: GOOD ( 10.63 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-riscv.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-riscv>, <mailto:linux-riscv-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-riscv/> List-Post: <mailto:linux-riscv@lists.infradead.org> List-Help: <mailto:linux-riscv-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-riscv>, <mailto:linux-riscv-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" <linux-riscv-bounces@lists.infradead.org> Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org |
Series |
pm: Introduce devm_pm_set_wake_irq
|
expand
|
Context | Check | Description |
---|---|---|
conchuod/vmtest-fixes-PR | fail | merge-conflict |
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index 817c23438f6e5176431e1f736bb511f9919b67de..6e3cbe3ca72dbd43485c23f6042b4fba007ff5e6 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c @@ -260,18 +260,13 @@ static int ep93xx_keypad_probe(struct platform_device *pdev) platform_set_drvdata(pdev, keypad); device_init_wakeup(&pdev->dev, 1); - err = dev_pm_set_wake_irq(&pdev->dev, keypad->irq); + err = devm_pm_set_wake_irq(&pdev->dev, keypad->irq); if (err) dev_warn(&pdev->dev, "failed to set up wakeup irq: %d\n", err); return 0; } -static void ep93xx_keypad_remove(struct platform_device *pdev) -{ - dev_pm_clear_wake_irq(&pdev->dev); -} - static const struct of_device_id ep93xx_keypad_of_ids[] = { { .compatible = "cirrus,ep9307-keypad" }, { /* sentinel */ } @@ -285,7 +280,6 @@ static struct platform_driver ep93xx_keypad_driver = { .of_match_table = ep93xx_keypad_of_ids, }, .probe = ep93xx_keypad_probe, - .remove = ep93xx_keypad_remove, }; module_platform_driver(ep93xx_keypad_driver);