Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29873704rwd; Wed, 5 Jul 2023 19:50:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlEtg8AesDk5g13CWLzfYZzMSZNxmjBU49H9eDncutXNyZ05T9OF5ozIkFOk66vpB1Y2ad4O X-Received: by 2002:a05:6a20:7fa3:b0:12c:a8e9:7bf6 with SMTP id d35-20020a056a207fa300b0012ca8e97bf6mr1329970pzj.10.1688611817666; Wed, 05 Jul 2023 19:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688611817; cv=none; d=google.com; s=arc-20160816; b=xtRBP4HL5Yt4Tf/AXoObaUKcuKTXnKXmrnyJ57VHzqR8PAKBU73izZ0PY4VY8mAPwn Wy35+uIyGT/Hk0T5m3g7RZIk7olf0szpZ/EaxdTycgPCkb5jXUs9PyTQxG+g6N+JUjKG 1TsFtFCMyxgGkFu1qHqyH+/eTqb8H/8lW5/TpDpIyVn31GlFWF1jm4ZNW6GZ7ggpTuu4 RWvUGBHbqH6NdzOYLadIGoW07toUX77koksb39Te4BD9BRrJtCM2f3tuHCn2NecJKxcH +FjHO2OGBT+yygyNoiMg/aJRex3E/S3ktCdIYp1tJ8ONg1/VBGIwySSePXIddNRXIFeX uH7A== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=bqoaWR7gLnUV8zZKefpeiYoklordhVyETydH6S3P67s=; fh=SPd/ju110donSlHHjJnbf4O406EISiG55FVLJ8ASSYQ=; b=ZpVLAdvGG8culdKMsrDtAC4RYfRhtpOH4Kg5lRx7cgURpBnJMzZ/yOuhRcbtXh0AZ5 UjU6eRN7xW5frLAkGxy4jR+3NzfBo9MDAnJvfhQC9XZ7nu63gQDqikVpZukUYiRTNwYF jvpwMSGTIM/IDjj6HFtd15jbjTB8iGu0LFhWnMt51Yf1ie88FqZfTJvCacrdwT0dh80+ Q4vOvM2oO5HTUhdE71huWR6wC69QSabgc1wi1XKkxG1gJTqOFHLvEPFE82iyP0fEulaj W2FunWPBVPZdJPQ8RWUB4rHOtRerI5BIczIwf0etRVgG2uzohTGROO4jVDu0sbsY+MKa hVWQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt5-20020a056a00438500b00655f316b6b6si474948pfb.175.2023.07.05.19.50.02; Wed, 05 Jul 2023 19:50:17 -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; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233255AbjGFCZu (ORCPT + 99 others); Wed, 5 Jul 2023 22:25:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233240AbjGFCZt (ORCPT ); Wed, 5 Jul 2023 22:25:49 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40CC31737; Wed, 5 Jul 2023 19:25:48 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4QxL1l3yYjz6J7Dm; Thu, 6 Jul 2023 10:23:55 +0800 (CST) Received: from localhost (10.34.206.101) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 6 Jul 2023 03:25:43 +0100 Date: Thu, 6 Jul 2023 10:25:39 +0800 From: Jonathan Cameron To: Paul Cercueil CC: Wolfram Sang , , , Krzysztof Kozlowski , Alim Akhtar , , Subject: Re: [PATCH 07/23] i2c: exynos5: Remove #ifdef guards for PM related functions Message-ID: <20230706102539.00003f2e@Huawei.com> In-Reply-To: <20230705204314.89800-8-paul@crapouillou.net> References: <20230705204314.89800-1-paul@crapouillou.net> <20230705204314.89800-8-paul@crapouillou.net> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.34.206.101] X-ClientProxiedBy: lhrpeml500001.china.huawei.com (7.191.163.213) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 5 Jul 2023 22:42:58 +0200 Paul Cercueil wrote: > Use the new PM macros for the suspend and resume functions to be > automatically dropped by the compiler when CONFIG_PM or > CONFIG_PM_SLEEP are disabled, without having to use #ifdef guards. > > This has the advantage of always compiling these functions in, > independently of any Kconfig option. Thanks to that, bugs and other > regressions are subsequently easier to catch. > > Signed-off-by: Paul Cercueil Reviewed-by: Jonathan Cameron