Message ID | 20250103-wake_irq-v2-2-e3aeff5e9966@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 3DE8CE77188 for <linux-riscv@archiver.kernel.org>; Fri, 3 Jan 2025 08:47:02 +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=BbMoHZmlxtnjP4FKU5EamUnGfV nPrGgyjHirAMB6QSRSRGkyANNzOgKCMTvFDxqkimsvCfAowkh6GucV21Op7Y1nY0LAQ2pcOc5NOzd eAob/3sQVRREqSaKa9owDC1viVQPrLbft8pAqj4gU23Ijyov306agWv7VGJO9OTQXXtE8Dojkzs8v eoQS1t4jKSwJqY15DTMFOoozg59gPJ6DUcgfRk3JJSSlAccHT0t+0VDEWrWdsyvAu6rCTbbjwhzY6 VwrWbzxpaKx2mmpd2ogb76+ai2H+93aV9/YGOsNCE5BptarWz+HPnLArTJ1b5J+YrmbV4XAtsyTzj tTXmoCeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tTdKb-0000000CV3z-2w8k; Fri, 03 Jan 2025 08:46:57 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tTdG3-0000000CTmY-0tVX; Fri, 03 Jan 2025 08:42:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=S1aH+MEkJL5DstVipxgKG6JRHaV/1Ve7AjvT5moKZG+24DF1F19ec5JL0AxlbkFVbweUK4ZVhiXSwqaf+lsxDxAR/4iTWFSnSvSxC0ch7STbUbgT/TrPNpGtwKF2hbSQFF9x7l3DXNwDfPshaE3AiOvR1arbtksbEWOlnRkdaGStWcCAB/Ak0Eb5IYJH7j9z1GUXO1eOL4iG8p2ybts9b8o7A9Bz4/gZoCte+K9Vjg2rxU5AGYqtTKs/XK3qtM2V6Io7tMJ0cQqWPrSWfDq1QirzQoFeOE48beVj92el+zZfLg81xn3W7NOEHbP+uCPfjGUUVf7CsZ/dYOHPHqFLjg== 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=g+Gt9ZCwEdf+zk3TaGDp9Jh+IOMtI8QOTe/QVSUc+O9Y3I1/+UitbW2BCSvH1QSEiNhnJDKSdshSjUG4/nHf/zY/WqD9//hxz1j0UiaYOWBPB8zuPA0tpCbZgQ6j38zxeJIf+VH+w5vuS95gpzxDVl+x72yOYCrNjrewNV62B8zBfIFyoN4a/dYqTZOxe9eXD6riGHfD8dJXUS2EEv5r+WDgSgk5j/CNjZ5Tqj4l7EIT7K+VeK8W9LjxXCT08wNaRm2OE5A7EO+sFpbCL+JTnmbK7ZeMPW89gRsC2u9ggjPXnwIe82fQ7XOOoyDyXxq8Os5FSZ8TU1Q33OwKJ34RsA== 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=CgbFYNBDuGz8UJ8IfWvKeqMsk9s3KcXjoeEx4/S6BOp25/Zo3oL10mapeicpDGrr49bu5aJCll+91k8laxyjbXk0SyTc5OReAJILBRqhf3aEMmPlI/6zhiUhZqgEus3slEop9raYPBZOBP/cnJpJNwkYKztrLBiTC3dZS3GG3ybwfkhOoMqfcfOMi2eeGlQbZsubqWeJdTRiPmPN6MNA06CMUECE26dQsikGMjtByRmTbcOurOVrGaGbCVavBPuWyfedfw3xAW3YL7VxtrzlTvjdvdWgVtwjvIRrimYIILyYonmNWhrjh8aDQazYkLcJsjJdHyNKjoUYU0DDUpUrnQ== 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 GV1PR04MB9101.eurprd04.prod.outlook.com (2603:10a6:150:20::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.14; Fri, 3 Jan 2025 08:42:07 +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.8314.013; Fri, 3 Jan 2025 08:42:07 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Fri, 03 Jan 2025 16:41:14 +0800 Subject: [PATCH v2 02/12] input: keyboard: ep93xx_keypad: Use devm_pm_set_wake_irq Message-Id: <20250103-wake_irq-v2-2-e3aeff5e9966@nxp.com> References: <20250103-wake_irq-v2-0-e3aeff5e9966@nxp.com> In-Reply-To: <20250103-wake_irq-v2-0-e3aeff5e9966@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=1735893689; l=1402; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=lLk6bV9Q4qc+HUdwJdc/NyACnoatpwVUWdW9RwekWXs=; b=R9/qzuNawG0lBp3arrRjMdx/n5J25HPKu2UkbM3HWbYO1/MmCJQ6naNNy0xhmrFQWFa1HqZD+ xfQu4IBNzZKBQUW368Fey1iMo3Zzkr4YqCV8xVtsxLgW9IUk/Wzh57Z X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0003.apcprd02.prod.outlook.com (2603:1096:4:194::13) 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_|GV1PR04MB9101:EE_ X-MS-Office365-Filtering-Correlation-Id: 82b7a357-005e-45ff-41f6-08dd2bd28193 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|376014|7416014|52116014|366016|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?asvBdty9AVZmrCeRkxah9v1lEU7rBvF?= =?utf-8?q?rcQawffCbBJ6gqNFo/4yJqdYeEKK0CqT6bTginidNFH57t/mRPT/mocibroao4EXj?= =?utf-8?q?BGsiEMy2eTQSUi5ob2tUrqHRzQOL/ZV/eOEM4UinFTqbe/VeD6iIiLERqwCnCuPaL?= =?utf-8?q?TwACC3qrvpwIDx0ADS3pIdJNRz2Sd5EgfgYa3mipi/R36HZYrbj9fyQ+C5+3AJ7e0?= =?utf-8?q?y27lDFBM1xEVz3hfr8uD2csuvsHe9zOvWhtoDOJNKbAagxmyAwiwLGvcjgNG9vq0M?= =?utf-8?q?irWv45ZwxfgfKz2iOQYix5Qu62mO0x6Bd+qFlq7KR7oB2bmN/DS805OTaWMBl2oMp?= =?utf-8?q?0fRUQDP2DD9njQI3wrGnIozTkjHGAqCuDNCKebZ0N2GcVAl0rgXeOsfq2J1bN8LAI?= =?utf-8?q?R4gQCJCqFSnf+LPVO+Rny4pdrNTGSZAFQKLRXOheY+e8JTWXiCuCMV6vBaROsw5fz?= =?utf-8?q?7BIpek6JmA03dpnP+91cIYnoyHMek8nYWKO9j9MapB3kJg/dXKoTyR/hmMEYu+ghu?= =?utf-8?q?GfF+NqRyVDb1XTbK1UzMCF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ispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(52116014)(366016)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4cLEK578CHRsNUcCoC3zPLdMsGIq?= =?utf-8?q?QuB1tsQKwEoVcJV4PdrSZMPSoT9QfPABbzajQgtR++nWEJ2IVq5OoSBIs+p6V8eUb?= =?utf-8?q?DoEVcxO8PgEbcdzTG+5K7ADbED40vrjsoBUaFSGUJuh/1ioju34ZalUahXbSi2oM2?= =?utf-8?q?Vc8X+qpWifEPe0NMHjkD2bBUpYuYIv6LKjHgf+dKsPTeYIOq6ZGS4B2ILARA7sVX1?= =?utf-8?q?kw39Vb+5JTKz9PP73ettaHRTOnrIpofsmFFQKbClvUgwdstDtk6Vkt8zrQPhgHfgS?= =?utf-8?q?G0l5XM/cs9ExCMC4rLeWtI+Ql45OyDVTurt+RNzaogyzToC8/26+BV9eB6UmsY1vl?= =?utf-8?q?+PgdEeTMP9d6zZIaljKANe6jsqerhhomgAPbI8fc8zEvCNJRltBBnpbBWE8IiDWxn?= =?utf-8?q?867n88N7x6fGjmu4GaBSt4irb2I91VE53iE9GBL6vLPm8H5A1wf2PIOO4pYSmh8mK?= =?utf-8?q?CuOLZzVt7HxDeVZSQNxTei1+bcItaRW8lTTDnc/NrXLe3/00oVYCLGq5IZ3aVUx3X?= =?utf-8?q?QqxMh9w19VY09U9jZcMiOkqml6ogba/VGB/gKrGIWlN9HXGR4nlUxStHLEIdCyyP5?= =?utf-8?q?vOsgeRrnDPN62w1Yfdp6apYMLpB4QLfFccKeG6WWM8Pe8Y8kcpPjloIXYZPFlPPQN?= =?utf-8?q?3iQzKTF2BzxM6TkjJ4KnrewDkBxpL23UZx0/iXspq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Exchange-CrossTenant-Network-Message-Id: 82b7a357-005e-45ff-41f6-08dd2bd28193 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2025 08:42:07.4608 (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: bVjgLhuqcubx01q2NGl5hR+bX9gxV96kxlnjqpwmNZlGCKPMwxzv/hI3L5PEmXuTX4/2xuH7XrhBznoEcUFLYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9101 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250103_004215_250581_56CEA7AC X-CRM114-Status: GOOD ( 11.46 ) 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);