From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Thierry Reding <thierry.reding@gmail.com>, Fabrice Gasnier <fabrice.gasnier@foss.st.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: Mark Brown <broonie@kernel.org>, linux-pwm@vger.kernel.org, kernel@pengutronix.de, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/5] pwm: Use regmap_clear_bits and regmap_set_bits where applicable Date: Tue, 15 Nov 2022 12:13:42 +0100 [thread overview] Message-ID: <20221115111347.3705732-1-u.kleine-koenig@pengutronix.de> (raw) Hello, I recently learned a bit of coccinelle and triggered by Paul Cercueil's patch that replaces regmap_update_bits() by regmap_set_bits() and regmap_clear_bits() where applicable in the jz4740 pwm driver[1] I created a cocci patch for such calls. This series adapts the other drivers below drivers/pwm accordingly. Best regards Uwe [1] https://lore.kernel.org/linux-pwm/20221024205213.327001-6-paul@crapouillou.net Uwe Kleine-König (5): pwm: fsl-ftm: Use regmap_clear_bits and regmap_set_bits where applicable pwm: img: Use regmap_clear_bits and regmap_set_bits where applicable pwm: iqs620a: Use regmap_clear_bits and regmap_set_bits where applicable pwm: stm32-lp: Use regmap_clear_bits and regmap_set_bits where applicable pwm: stm32: Use regmap_clear_bits and regmap_set_bits where applicable drivers/pwm/pwm-fsl-ftm.c | 18 +++++++----------- drivers/pwm/pwm-img.c | 15 +++++++-------- drivers/pwm/pwm-iqs620a.c | 4 ++-- drivers/pwm/pwm-stm32-lp.c | 5 ++--- drivers/pwm/pwm-stm32.c | 34 ++++++++++++++++------------------ 5 files changed, 34 insertions(+), 42 deletions(-) base-commit: 094226ad94f471a9f19e8f8e7140a09c2625abaa -- 2.38.1
WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Thierry Reding <thierry.reding@gmail.com>, Fabrice Gasnier <fabrice.gasnier@foss.st.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: Mark Brown <broonie@kernel.org>, linux-pwm@vger.kernel.org, kernel@pengutronix.de, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/5] pwm: Use regmap_clear_bits and regmap_set_bits where applicable Date: Tue, 15 Nov 2022 12:13:42 +0100 [thread overview] Message-ID: <20221115111347.3705732-1-u.kleine-koenig@pengutronix.de> (raw) Hello, I recently learned a bit of coccinelle and triggered by Paul Cercueil's patch that replaces regmap_update_bits() by regmap_set_bits() and regmap_clear_bits() where applicable in the jz4740 pwm driver[1] I created a cocci patch for such calls. This series adapts the other drivers below drivers/pwm accordingly. Best regards Uwe [1] https://lore.kernel.org/linux-pwm/20221024205213.327001-6-paul@crapouillou.net Uwe Kleine-König (5): pwm: fsl-ftm: Use regmap_clear_bits and regmap_set_bits where applicable pwm: img: Use regmap_clear_bits and regmap_set_bits where applicable pwm: iqs620a: Use regmap_clear_bits and regmap_set_bits where applicable pwm: stm32-lp: Use regmap_clear_bits and regmap_set_bits where applicable pwm: stm32: Use regmap_clear_bits and regmap_set_bits where applicable drivers/pwm/pwm-fsl-ftm.c | 18 +++++++----------- drivers/pwm/pwm-img.c | 15 +++++++-------- drivers/pwm/pwm-iqs620a.c | 4 ++-- drivers/pwm/pwm-stm32-lp.c | 5 ++--- drivers/pwm/pwm-stm32.c | 34 ++++++++++++++++------------------ 5 files changed, 34 insertions(+), 42 deletions(-) base-commit: 094226ad94f471a9f19e8f8e7140a09c2625abaa -- 2.38.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2022-11-15 11:15 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-15 11:13 Uwe Kleine-König [this message] 2022-11-15 11:13 ` [PATCH 0/5] pwm: Use regmap_clear_bits and regmap_set_bits where applicable Uwe Kleine-König 2022-11-15 11:13 ` [PATCH 1/5] pwm: fsl-ftm: " Uwe Kleine-König 2022-11-15 11:13 ` [PATCH 2/5] pwm: img: " Uwe Kleine-König 2022-11-15 11:13 ` [PATCH 3/5] pwm: iqs620a: " Uwe Kleine-König 2022-11-15 11:13 ` [PATCH 4/5] pwm: stm32-lp: " Uwe Kleine-König 2022-11-15 11:13 ` Uwe Kleine-König 2022-11-23 10:23 ` Fabrice Gasnier 2022-11-23 10:23 ` Fabrice Gasnier 2022-12-02 17:57 ` Uwe Kleine-König 2022-12-02 17:57 ` Uwe Kleine-König 2022-11-15 11:13 ` [PATCH 5/5] pwm: stm32: " Uwe Kleine-König 2022-11-15 11:13 ` Uwe Kleine-König 2022-11-23 10:23 ` Fabrice Gasnier 2022-11-23 10:23 ` Fabrice Gasnier 2022-11-17 13:52 ` [PATCH 0/5] pwm: " Uwe Kleine-König 2022-11-17 13:52 ` Uwe Kleine-König
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221115111347.3705732-1-u.kleine-koenig@pengutronix.de \ --to=u.kleine-koenig@pengutronix.de \ --cc=alexandre.torgue@foss.st.com \ --cc=broonie@kernel.org \ --cc=fabrice.gasnier@foss.st.com \ --cc=kernel@pengutronix.de \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-pwm@vger.kernel.org \ --cc=linux-stm32@st-md-mailman.stormreply.com \ --cc=mcoquelin.stm32@gmail.com \ --cc=thierry.reding@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.