Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1032124rwo; Sat, 22 Jul 2023 05:24:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlGMykYiOT4mDrYUUnWBrQ2SYRUiYnw2c1xttO6aEoGMR7z4s+xACS0pGr6hJv8o4PG3dUvp X-Received: by 2002:a17:902:b904:b0:1b8:971c:b7b7 with SMTP id bf4-20020a170902b90400b001b8971cb7b7mr4681897plb.56.1690028682990; Sat, 22 Jul 2023 05:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690028682; cv=none; d=google.com; s=arc-20160816; b=UC7j0MLHSdaBF86sWFr+mY/NUWwFTQuecVZNl4XtVYWRFmPur+rY+6PSr8oFEasS4w Qgap2zfWNSeMYCxbz5lIJofYAXQShfk4ENfDzMj2ALuhchK9LEXSU5ioThdOfhPKCAUb scqaV5jreVqVBXHzyPAltwoYOQZd/avPcxsFZXohxqzXrvhWXSdRP4fBrzBTzKDzGB6w MkgpDXPEbpS6ep9smTbr/4rUA5WxAiIdYgZcJCftQkDIgoZbVXeWEVeJsAlcdPKKAM6q AUL/NcrNP04+iIhvXqInjR2Ye20R+E9gauZEwlvluKeRM16gdvE2JmojkDN00mVF1LU1 HO7A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=iRVy6KWUyqulQ6zTq7bMa84y6yN8EmR7H7VKy0sjKtE=; fh=aA6YCsjalVRz0XxrVeje8ZpqhjzlgWd1ivWH6+OWUmY=; b=nd8YCVDy/GfIuGzeCpy7S1ILrd06BgkIkHBdXF2hxd5FRvtQJXJgPXXTRNiWvfhgDD U5VrKZa15GZReAknu74nqdPA/v8gjKA6RAL3IjUmHej95azqzan43/Ht6IIJ8xfq827S RgXz3piL3O8fHhd9lz8QOzJjvHl8LwoZ0WFGj5YNcI4hqHHsbUJAL/jzKDF7bdNqHEc6 kkyPciPXanivhr4RHHWp6aMdEgkBWvaTiekvfR/KDLA9lGBt6fq7n0tDaCOIvdLAGC/a ewJqtpOhf6hI1tkjSPXirAcmTDD1DPHos5Xb0dXf04Yy2G+EtqdKwZ3dEaG5BeLUwncs wyBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=n4zwvlMy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n14-20020a170903110e00b001b80643d64dsi5499268plh.145.2023.07.22.05.24.28; Sat, 22 Jul 2023 05:24:42 -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; dkim=pass header.i=@crapouillou.net header.s=mail header.b=n4zwvlMy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230051AbjGVLvK (ORCPT + 99 others); Sat, 22 Jul 2023 07:51:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbjGVLvI (ORCPT ); Sat, 22 Jul 2023 07:51:08 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75D122D45; Sat, 22 Jul 2023 04:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1690026657; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=iRVy6KWUyqulQ6zTq7bMa84y6yN8EmR7H7VKy0sjKtE=; b=n4zwvlMym2vdJ00/UlAVj3FjsE2TU+U7vSjoThcE2+recQVCBh1IdkeNaVYe3ifIRHs7sM L8RAa8oT4UZAw6dns2dD1d4Zf8elkDru3MQw1w0IiXtSk06cteDJbXP6wHbsn2P7Sk7Vn0 Ld7Zipv0p8lxj9QR80JCNcmqKk+NXpc= From: Paul Cercueil To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil , Elie Morisse , Shyam Sundar S K , Ray Jui , Scott Branden , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Bartosz Golaszewski , Jarkko Nikula , Andy Shevchenko , Mika Westerberg , Jan Dabros , Jean Delvare , Qii Wang , Matthias Brugger , AngeloGioacchino Del Regno , Linus Walleij , Peter Korsgaard , Andrew Lunn , Vladimir Zapolskiy , Andy Gross , Bjorn Andersson , Konrad Dybcio , Wolfram Sang , Krzysztof Kozlowski , Alim Akhtar , Conghui Chen , Viresh Kumar , Peter Rosin , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: [PATCH v2 00/22] i2c: Use new PM macros Date: Sat, 22 Jul 2023 13:50:24 +0200 Message-Id: <20230722115046.27323-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Wolfram, Here is a revised version of my patchset that converts the I2C drivers to use the new PM macros. Changes since V1 include: - Previous patch [01/23] that updated the amd-mp2 driver has been dropped per Jonathan's request. - [09/22]: Unfold _DEV_PM_OPS() macro - [10/22]: Convert to use regular device PM instead of using platform_driver.{suspend,resume}. I figured it was OK to also change it to use the new PM macros and keep it in one single patch. - [13/22]: Rewrap runtime PM line Cheers, -Paul Paul Cercueil (22): i2c: au1550: Remove #ifdef guards for PM related functions i2c: iproc: Remove #ifdef guards for PM related functions i2c: brcmstb: Remove #ifdef guards for PM related functions i2c: davinci: Remove #ifdef guards for PM related functions i2c: designware: Remove #ifdef guards for PM related functions i2c: exynos5: Remove #ifdef guards for PM related functions i2c: hix5hd2: Remove #ifdef guards for PM related functions i2c: i801: Remove #ifdef guards for PM related functions i2c: img-scb: Remove #ifdef guards for PM related functions i2c: kempld: Convert to use regular device PM i2c: lpc2k: Remove #ifdef guards for PM related functions i2c: mt65xx: Remove #ifdef guards for PM related functions i2c: nomadik: Remove #ifdef guards for PM related functions i2c: ocores: Remove #ifdef guards for PM related functions i2c: pnx: Remove #ifdef guards for PM related functions i2c: pxa: Remove #ifdef guards for PM related functions i2c: qup: Remove #ifdef guards for PM related functions i2c: rcar: Remove #ifdef guards for PM related functions i2c: s3c2410: Remove #ifdef guards for PM related functions i2c: sh-mobile: Remove #ifdef guards for PM related functions i2c: virtio: Remove #ifdef guards for PM related functions i2c: mux: pca954x: Remove #ifdef guards for PM related functions drivers/i2c/busses/i2c-au1550.c | 15 +++----------- drivers/i2c/busses/i2c-bcm-iproc.c | 10 +--------- drivers/i2c/busses/i2c-brcmstb.c | 8 +++----- drivers/i2c/busses/i2c-davinci.c | 12 +++-------- drivers/i2c/busses/i2c-designware-platdrv.c | 22 ++++++--------------- drivers/i2c/busses/i2c-exynos5.c | 8 +++----- drivers/i2c/busses/i2c-hix5hd2.c | 10 ++++------ drivers/i2c/busses/i2c-i801.c | 6 ++---- drivers/i2c/busses/i2c-img-scb.c | 10 +++------- drivers/i2c/busses/i2c-kempld.c | 19 ++++++++---------- drivers/i2c/busses/i2c-lpc2k.c | 8 +------- drivers/i2c/busses/i2c-mt65xx.c | 8 +++----- drivers/i2c/busses/i2c-nomadik.c | 12 +++-------- drivers/i2c/busses/i2c-ocores.c | 10 +++------- drivers/i2c/busses/i2c-pnx.c | 12 ++++------- drivers/i2c/busses/i2c-pxa.c | 8 +------- drivers/i2c/busses/i2c-qup.c | 16 ++++----------- drivers/i2c/busses/i2c-rcar.c | 10 ++-------- drivers/i2c/busses/i2c-s3c2410.c | 14 +++---------- drivers/i2c/busses/i2c-sh_mobile.c | 12 +++-------- drivers/i2c/busses/i2c-virtio.c | 8 ++------ drivers/i2c/muxes/i2c-mux-pca954x.c | 6 ++---- 22 files changed, 67 insertions(+), 177 deletions(-) -- 2.40.1