Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp270081pxx; Thu, 29 Oct 2020 02:05:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9i8qZevztOVJg3W5lNE0X1mTnqM9fzQbpbADq+n5tVanMSWv8FQnmejXetRZlfWREzdg8 X-Received: by 2002:aa7:dcc2:: with SMTP id w2mr2893260edu.121.1603962334434; Thu, 29 Oct 2020 02:05:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962334; cv=none; d=google.com; s=arc-20160816; b=oIollitrXVUiL9zuU2v9Qdqa55mk5+E1Wrlz/zS2x0aCls0gbxI9mstfWV1qpim4wM gv7xuUJ2604stQG1xRJIAsPp3zV0sZLrjeGMUZ9As5uBJGF6OJHoFIcd7zCNTqDjMygN JieCeyMASz4C1ti03mjgVTiQQXdwzhrGbf76gJzl5zMDEcEdK5YW8yZO7AumdFsO/fTR h7VZiX/Wnkr5GLoyGrtzSea9vyCIvtVg/kFPu0vL+7SbV8ShCONRIDnkeqkDtUjgKlZo 1WJM+qYE6QDNDr6Y5AbxRpl6oobWmURb6fhyAN+1HLM0O6Q0ugRZ/KiGxR1pRHyL9ANH ITGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J0W6J6dQDZxnMRhIOOwL7oLVTMIIYbTyNlCsB21rcBk=; b=04CzOiXTqRn4JCv7cnr06vzChkv4Y4sldyjS38Tb1z99Q5BP0xsfipBZ1psRmjKAej c15mNSsbaU2anGthVUrpzzI97PfiYTenOm7uZ5UNGQACnO4DMKOLGGo5XHEs3z/q6RWR 2j80uHaSoFaXbr830K48iTLugZPAbdnEsYCIAN72M6LuoNpOItx+Hxcz77IMWAWNKK3w 9e1yQjHuhtGHiNpatSBugdEQm6O7phjo+GZ3dbjyxa9yEJfdAySrAfM+/MgExsotDxfL ikTtdpbeWzW+j3Kd+Iba9Yg/PYexB4pvXcPpOXFbDrI/goZovnpFqBtektb936yx8MYz 1tEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OlGmewJe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si1436409ejg.519.2020.10.29.02.05.12; Thu, 29 Oct 2020 02:05:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OlGmewJe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387757AbgJ2Hrh (ORCPT + 99 others); Thu, 29 Oct 2020 03:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387645AbgJ2HrY (ORCPT ); Thu, 29 Oct 2020 03:47:24 -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 F3364C0613CF; Thu, 29 Oct 2020 00:47:23 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id s22so1646531pga.9; Thu, 29 Oct 2020 00:47:23 -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=J0W6J6dQDZxnMRhIOOwL7oLVTMIIYbTyNlCsB21rcBk=; b=OlGmewJenhX/mmGDW75rDk3F8AjZpR/d9rnM5UgpGQhGxuBDXvGw63ef3rjww19L6Q ESt2M2dYaJjsCOdmwhkjeFm9MRNz4vVH3bR6VYp3yuHBjJ2lbXugw40wyvL1uRoARjkR cfqWDGZYPrO3gBj9bAyXFcjEX0G3K7QU6dszoNEcMdMVuZld42xWMHVwQ5zMfYT1lhIf kOsu9hrzO0fCxiVmNX08jShehbInHHR18rusI4n4k+ZKsjzAzA0N0W44YCu3nhJIY65Y Sk4vA9rrMZxSYVUuZCeAhzcphw3M92V15HvcOxrSbokjLsQ8MnzYjT1VBXFfnMveLK6Y Wy8g== 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=J0W6J6dQDZxnMRhIOOwL7oLVTMIIYbTyNlCsB21rcBk=; b=h1uHDCw9m//k48iyAs3mdZjpBc8IZD4HMoPRlDu8en3h0AtT7ohUFNxyq/5yKRYBrw q9kfUIUSLy+reaS5vHHXAGTktvWMED2uppawFCZPL4CVvIJp+r4XQQKXLG0aPyHt/wgg 9LpkEkw2k6zB3PMB29gLhREBZU4x8VOsXz3kLSK0HNBfIp7MJIlQ9e2lmL0ADaXFHrKK 8XL4L5zsY+B06sqMs74AGKjDdsGU9Hsvn4p/ux3qTCMrDRMUeLlb7s7Bp3tMgydU1bKo SkWMJIuPRNzj03Wn0SFs9MY6NrOaxrsBNf9hTr9kxHFnw6jK/3YETbSOLnprxMaK9An9 vJtg== X-Gm-Message-State: AOAM533gn3dfJL8UXm22FcP9k8+lCdQn4zXusOUeY3LSvJi55iavuI1e bepF/wmzKB0Ca1mPtMzw3Ogk1QYo4FnFAnJx X-Received: by 2002:a63:d946:: with SMTP id e6mr2999557pgj.113.1603957643315; Thu, 29 Oct 2020 00:47:23 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id w123sm1972428pfd.34.2020.10.29.00.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:47:23 -0700 (PDT) From: Coiby Xu To: linux-i2c@vger.kernel.org Cc: Kamal Dasu , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 3/5] i2c: brcmstb: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:46:52 +0800 Message-Id: <20201029074654.227263-3-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074654.227263-1-coiby.xu@gmail.com> References: <20201029074654.227263-1-coiby.xu@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- drivers/i2c/busses/i2c-brcmstb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-brcmstb.c b/drivers/i2c/busses/i2c-brcmstb.c index d4e0a0f6732a..16f688e115be 100644 --- a/drivers/i2c/busses/i2c-brcmstb.c +++ b/drivers/i2c/busses/i2c-brcmstb.c @@ -713,7 +713,6 @@ static int brcmstb_i2c_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int brcmstb_i2c_suspend(struct device *dev) { struct brcmstb_i2c_dev *i2c_dev = dev_get_drvdata(dev); @@ -731,7 +730,6 @@ static int brcmstb_i2c_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(brcmstb_i2c_pm, brcmstb_i2c_suspend, brcmstb_i2c_resume); -- 2.28.0