From patchwork Fri Sep 29 16:19:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13404604 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E4861173A for ; Fri, 29 Sep 2023 16:19:42 +0000 (UTC) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qmGD6-0007mo-1p; Fri, 29 Sep 2023 18:19:24 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qmGD4-009r5J-2y; Fri, 29 Sep 2023 18:19:22 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qmGD3-00615m-Ou; Fri, 29 Sep 2023 18:19:21 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Thierry Reding Cc: Ray Jui , Scott Branden , Broadcom internal kernel review list , linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, Florian Fainelli , linux-rpi-kernel@lists.infradead.org, Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , Matthias Brugger , AngeloGioacchino Del Regno , linux-mediatek@lists.infradead.org, Orson Zhai , Baolin Wang , Chunyan Zhang , Krzysztof Kozlowski , Alim Akhtar , linux-samsung-soc@vger.kernel.org, Benson Leung , Guenter Roeck , chrome-platform@lists.linux.dev Subject: [PATCH 00/11] pwm: Some random cleanups Date: Fri, 29 Sep 2023 18:19:07 +0200 Message-Id: <20230929161918.2410424-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1447; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=EU2LjIzzIEw1uOSkgKF6jDTiS5CXMLB75+qFfOk57jI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlFvj0VfUlmGHNT0hrh6Yv9rwSiuxTi4ATgbZcq HPOTBZ67PiJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZRb49AAKCRCPgPtYfRL+ TlSiB/9Njt9Jdg9B7UzciPo87WQq9tGAbpUf6QFamH+saJ1AQm4yHL6lCd2oMFbBFlkLpalWp5Q Ynhb2OC//zWV/w66/9erqdkKn5LTizfPsEJWy5ED6PvZi4fUxWdYy+oihDDO5fnq0xCqXClqL4t W38Mvf9eGBlF+7GR+xlsYLtTgFvLoCHgWXvshv0IbIxpNGWL5ECEeZLNLWODax95gD2jb4vhIQS jtStovnFEYHljix7uE8O6A8ls/IcFj2TQ/Lr9HJ3hiUIjgYRLCLnOIvb4mdZllSmudbdVQAlKqN gBs2FuQnXjr2XEPOQhb9hEh41lHHoB9/iMUdDKfXZP/hw29+ X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: chrome-platform@lists.linux.dev Hello, this is a set of patches I based my efforts for closing a race condition in the pwm core on. I thought I already sent them out, but it seems I didn't. So here they come! Best regards Uwe Uwe Kleine-König (11): pwm: bcm-iproc: Simplify using devm functions pwm: bcm2835: Simplify using devm functions pwm: brcmstb: Simplify using devm functions pwm: imx-tpm: Simplify using devm functions pwm: mtk-disp: Simplify using devm_pwmchip_add() pwm: spear: Simplify using devm functions pwm: sprd: Provide a helper to cast a chip to driver data pwm: sprd: Simplify using devm_pwmchip_add() and dev_err_probe() pwm: vt8500: Simplify using devm functions pwm: samsung: Consistently use the same name for driver data pwm: cros-ec: Simplify using devm_pwmchip_add() and dev_err_probe() drivers/pwm/pwm-bcm-iproc.c | 37 +++------- drivers/pwm/pwm-bcm2835.c | 27 ++------ drivers/pwm/pwm-brcmstb.c | 42 +++--------- drivers/pwm/pwm-cros-ec.c | 33 +++------ drivers/pwm/pwm-imx-tpm.c | 29 ++------ drivers/pwm/pwm-mtk-disp.c | 24 ++----- drivers/pwm/pwm-samsung.c | 130 ++++++++++++++++++------------------ drivers/pwm/pwm-spear.c | 40 +++-------- drivers/pwm/pwm-sprd.c | 28 +++----- drivers/pwm/pwm-vt8500.c | 42 +++--------- 10 files changed, 137 insertions(+), 295 deletions(-) base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d