From patchwork Thu Oct 29 07:52:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865469 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2D0DE14C0 for ; Thu, 29 Oct 2020 07:55:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC25921D24 for ; Thu, 29 Oct 2020 07:55:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pWwyVCfc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731229AbgJ2Hw6 (ORCPT ); Thu, 29 Oct 2020 03:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731164AbgJ2Hw4 (ORCPT ); Thu, 29 Oct 2020 03:52:56 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAC77C0613D5; Thu, 29 Oct 2020 00:52:55 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id x13so1663208pgp.7; Thu, 29 Oct 2020 00:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A6ZAU5wa9ktX7c0HRJNZhphUVL9FdXUzKFXAk/wiNZE=; b=pWwyVCfcqtvuuSvNpcb3W905YuK6YN4Vs0GmSelVFFzIYqY7r+8kpqouaKp34xOsz/ vG3VPU7cyL3uzNkb6zDxsKPoXawhXS+N2Em60JBvP/pazRB2OVOO5uPWthZ1ber4XWe2 uFUKdGro/DCp87x0M2PwHoCsY9a5s9gsjjD/7lnuQQ/ughA6pvU8L9QNR9cklVHVo5/c 3ozVn+sj5I7U2y6YC4/YjJGFExpWrmnwywxQDD/ouDu3yAvAfab+qP49j78xFgWbttwl bVKvyqF3GSNiQCMHlNUmTQxERO7g1JOPrqyoQi6eVfTkPlwUr4VET0pR4AZgN4pB6rNk CUUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A6ZAU5wa9ktX7c0HRJNZhphUVL9FdXUzKFXAk/wiNZE=; b=JQTvzG8+Gw3zz0odlDZ45HqkDzI3l23sUAbjV2uGjXZ/MOzw/YcYe0I6y1ftWp2o94 /KmKPCcmAOgJin9SWE61AXU5uVTVHIuzgqn5NaqUkpPXR44Xhc/iyc7s6o6oHvOjDW8g aL+HMQJrAaygV+OsB8kZPG59U3MGDdjXN7SxkufKlDd+OA4NUWOMxNqCVp1IYDbZ8FhI nosqIJ9+Jhg54nNFHZFmjYIYGLUiHXt5jGC6L6ZjnWuBvuZweJALO5rMKcklgSawrS// M2M1HAgrBmlk30CiyEXh5Of/k4D69daSYqHsM0a63Yznq/lUUNauF5DfHigwX4AO7bg3 hBYQ== X-Gm-Message-State: AOAM533Amc/h/3k3hkGM2ciq5TGWqgPVejftpOkgr7rT4qjTebGJiqdc h6LjO4qPSmaSm7er+WKFr69LOGiSquhRjA1x X-Google-Smtp-Source: ABdhPJz+UxQ1qQpxbyFfwZ0co2YJt3B91TFCx7Ov0UnSgqOpkyvuwRwJ5MilZjvbxQqBA4NjBU8O7A== X-Received: by 2002:a63:4c5b:: with SMTP id m27mr3040343pgl.211.1603957975477; Thu, 29 Oct 2020 00:52:55 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id n7sm1627259pgk.70.2020.10.29.00.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:52:55 -0700 (PDT) From: Coiby Xu To: Dmitry Torokhov Cc: linux-input@vger.kernel.org (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK , TOUCHSCREEN)...), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/3] Input: pmic8xxx-keypad: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:52:34 +0800 Message-Id: <20201029075236.228335-1-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- drivers/input/keyboard/pmic8xxx-keypad.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c index 91d5811d6f0e..c04ab04331b2 100644 --- a/drivers/input/keyboard/pmic8xxx-keypad.c +++ b/drivers/input/keyboard/pmic8xxx-keypad.c @@ -621,7 +621,6 @@ static int pmic8xxx_kp_probe(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int pmic8xxx_kp_suspend(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); @@ -661,7 +660,6 @@ static int pmic8xxx_kp_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(pm8xxx_kp_pm_ops, pmic8xxx_kp_suspend, pmic8xxx_kp_resume); From patchwork Thu Oct 29 07:52:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865467 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B23C114B4 for ; Thu, 29 Oct 2020 07:55:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D52421534 for ; Thu, 29 Oct 2020 07:55:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YuPqF+6j" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731310AbgJ2HxD (ORCPT ); Thu, 29 Oct 2020 03:53:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731305AbgJ2HxC (ORCPT ); Thu, 29 Oct 2020 03:53:02 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD90DC0613D5; Thu, 29 Oct 2020 00:53:01 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id b3so1680418pfo.2; Thu, 29 Oct 2020 00:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=u3va1Ez95tLxe7I4EBUOomxp6Dx6b4nK5o9+B/9QkHU=; b=YuPqF+6jqoeWyST2cJPjf+tufRoIdJD1Xru32JECwI70d2Be/a2ERXtMxyl4IjN0u8 xNdB7zXl8YNe6JlTDL7EG42r2dRPdK1FUTQjtlBAJfhEDGZd/JdVMJW3/pKwp4GROCI1 ngUc8Yv9maDb3S2BLSLBlsgHT4/RD35b+n/P+MVYvi5jsf/ND6xwiaYHJJ+YfaclcFhq +LtcTzMxQta9esEU34VdSR3WKpYJgF9KNLPiop0P6RXq0/xGL1T0g62q+X6LHr/mvyqM c4Pm/836NltauBgy7j9uHcQYRgM4zAe1PfAptM83NgHBRxHBiZgegy55MT902NVHmVjB rePQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=u3va1Ez95tLxe7I4EBUOomxp6Dx6b4nK5o9+B/9QkHU=; b=duwUcdo6fVIcQqiOaor7CpA+FVbP1ms4zMjI4oWr79IXDydihNUry4X0FkeDpUUWrm RMLvoz78P0WP487WgRlufP94+xX2aL2BISE3Vx3xx3K5u5jWZY5uTAKxfEv0OA+jqaKq c6IbmIeLHKwUEfAIGZamDDG07GDq/llkQJJmx6F39gtaGGzhVT5wFpuTD7YTXf1rHwNb PT8bLhQWiy0EHq9jYNT9RWOiZJgFwNwAMiwZaagwHQvUYHqfZVKhIHcbCLeVd4WdfZwj EpQXv9FuxKjjOjL7hO1a3BYtjBBQ8W/6nQ177GqncW6D6JpHTYi7uaJ4ga4ZfZPpBWwx Nfkg== X-Gm-Message-State: AOAM531TJe2nawpKNGP39YEX8MXtOB0igzkEi+/IOMj/m78ei7RYOg0n XEujV5WO/IoqgISkIs9ygO37AnmiPUrgfw0B X-Google-Smtp-Source: ABdhPJw04Cu5XWVDsW0UysOQkmcLmPHHCNYdjXYIiu8PjMiHvpPpHmU49K3wO9cFs9rQhWIzHRoMnA== X-Received: by 2002:a17:90a:7d16:: with SMTP id g22mr3055511pjl.135.1603957981496; Thu, 29 Oct 2020 00:53:01 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id q35sm1880601pja.28.2020.10.29.00.53.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:53:01 -0700 (PDT) From: Coiby Xu To: Dmitry Torokhov Cc: linux-input@vger.kernel.org (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK , TOUCHSCREEN)...), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/3] Input: adp5589: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:52:35 +0800 Message-Id: <20201029075236.228335-2-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029075236.228335-1-coiby.xu@gmail.com> References: <20201029075236.228335-1-coiby.xu@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- drivers/input/keyboard/adp5589-keys.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/keyboard/adp5589-keys.c b/drivers/input/keyboard/adp5589-keys.c index eb0e9cd66bcb..50f94984e055 100644 --- a/drivers/input/keyboard/adp5589-keys.c +++ b/drivers/input/keyboard/adp5589-keys.c @@ -1077,7 +1077,6 @@ static int adp5589_remove(struct i2c_client *client) return 0; } -#ifdef CONFIG_PM_SLEEP static int adp5589_suspend(struct device *dev) { struct adp5589_kpad *kpad = dev_get_drvdata(dev); @@ -1109,7 +1108,6 @@ static int adp5589_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(adp5589_dev_pm_ops, adp5589_suspend, adp5589_resume); From patchwork Thu Oct 29 07:52:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coiby Xu X-Patchwork-Id: 11865459 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7E10214B4 for ; Thu, 29 Oct 2020 07:53:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 58C6D21D47 for ; Thu, 29 Oct 2020 07:53:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="t5ghjlIe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731087AbgJ2Hxa (ORCPT ); Thu, 29 Oct 2020 03:53:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732500AbgJ2HxM (ORCPT ); Thu, 29 Oct 2020 03:53:12 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCF15C0613D5; Thu, 29 Oct 2020 00:53:11 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id x23so914846plr.6; Thu, 29 Oct 2020 00:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=POqi5GI8PXCAEIumwbfgkVMeF0jFDXuMARK3jktwUMo=; b=t5ghjlIe1x+GGwGk6PMTTunm8mYIrUZqTLDRcRKy6WoRSwIWR/vdzeMfQIHMDE6OFC tzKahgXXCWi58P92eiKvyET5OWr8U1SyiGs+kItcteNBEcwB/ZpH1zXATilrHxwuzdXG venOMuw7WGvN5wHh1p2mjLljCYNxBeISo7fosRQR9sNXn571OhCOsPGMeH8hQtckAf98 qoe6GWi12ouIrfwSZ6mcdAeAniHEcieXbBUhr58e8dYBTSVDj4j2+6kRXIhd7PnhbHi9 PDmROUg8LSzpV2e6Q1Ysza9E1cdsT/ClPqkCYx5Qnqja18mrnKwxszQHIILUBaJU9d2W CXrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=POqi5GI8PXCAEIumwbfgkVMeF0jFDXuMARK3jktwUMo=; b=jcJJXQRZmc3CDFCBjHvTx5+wcIr++3rNXtcXnjDUKxeEpAATnA/xtZq6/a5LoXGoBD 3vm5Te1DxNJWkZR/h7zaPz+vTZ6ZhdOPZEY5cyc//0mzUDKSnF2uk9AzUDFqN8ZI5AgZ aduepgYqTljHxcW4bs7iTzr87L2kvYfLq2kft9V/lTnWwljijdXzJbwdJ+8OLYv/yyWR wTqSF00diy1XJxP6dZCKtKsaqdtcs12aCOY60QDhfeJx33KK14zO+KhaYR58YD+JhNSP LNZusbEiqoq79gEj/iISGA3p6MIWAeru2yXJ5HmWj2+7JSV0kFQeZCZoPa52giGoBnYo ol6A== X-Gm-Message-State: AOAM533ZWHKmlTq4xj1Ah0tmJzaux0TapIwro1C5leqvxBPltT+rJ9Cv cDKTMZtKG9Kqyah1MbsHWNVL8FWsf4E2bn74 X-Google-Smtp-Source: ABdhPJzycuJcoGnnb21OCUbDPFd7vpKcuT91sTtQLPEuuPzWngueUd5Uql+OpvkfM1wi036LsEiPzA== X-Received: by 2002:a17:902:7088:b029:d6:8072:9ce1 with SMTP id z8-20020a1709027088b02900d680729ce1mr3150919plk.11.1603957991256; Thu, 29 Oct 2020 00:53:11 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id d26sm1873937pfo.82.2020.10.29.00.53.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:53:10 -0700 (PDT) From: Coiby Xu To: Dmitry Torokhov Cc: linux-input@vger.kernel.org (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK , TOUCHSCREEN)...), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 3/3] Input: nomadik-ske-keypad: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:52:36 +0800 Message-Id: <20201029075236.228335-3-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029075236.228335-1-coiby.xu@gmail.com> References: <20201029075236.228335-1-coiby.xu@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- drivers/input/keyboard/nomadik-ske-keypad.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/keyboard/nomadik-ske-keypad.c b/drivers/input/keyboard/nomadik-ske-keypad.c index 608446e14614..b3052c8fa5d2 100644 --- a/drivers/input/keyboard/nomadik-ske-keypad.c +++ b/drivers/input/keyboard/nomadik-ske-keypad.c @@ -386,7 +386,6 @@ static int ske_keypad_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int ske_keypad_suspend(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); @@ -414,7 +413,6 @@ static int ske_keypad_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(ske_keypad_dev_pm_ops, ske_keypad_suspend, ske_keypad_resume);