From patchwork Sat Jul 22 11:50:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 13322907 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01996C001DC for ; Sat, 22 Jul 2023 11:51:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230047AbjGVLvK (ORCPT ); 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 X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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(-)