All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pwm: raspberrypi-poe: Drop assignment to struct pwmchip::base
@ 2021-12-09 22:08 Uwe Kleine-König
  2021-12-10  9:57 ` nicolas saenz julienne
  2022-02-24 12:55 ` Thierry Reding
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2021-12-09 22:08 UTC (permalink / raw)
  To: Thierry Reding, Lee Jones; +Cc: Nicolas Saenz Julienne, linux-pwm, kernel

Since commit f9a8ee8c8bcd ("pwm: Always allocate PWM chip base ID
dynamically") there is no effect any more for assigning this variable.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 drivers/pwm/pwm-raspberrypi-poe.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pwm/pwm-raspberrypi-poe.c b/drivers/pwm/pwm-raspberrypi-poe.c
index 579a15240e0a..e52e29fc8231 100644
--- a/drivers/pwm/pwm-raspberrypi-poe.c
+++ b/drivers/pwm/pwm-raspberrypi-poe.c
@@ -163,7 +163,6 @@ static int raspberrypi_pwm_probe(struct platform_device *pdev)
 	rpipwm->firmware = firmware;
 	rpipwm->chip.dev = dev;
 	rpipwm->chip.ops = &raspberrypi_pwm_ops;
-	rpipwm->chip.base = -1;
 	rpipwm->chip.npwm = RASPBERRYPI_FIRMWARE_PWM_NUM;
 
 	ret = raspberrypi_pwm_get_property(rpipwm->firmware, RPI_PWM_CUR_DUTY_REG,
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] pwm: raspberrypi-poe: Drop assignment to struct pwmchip::base
  2021-12-09 22:08 [PATCH] pwm: raspberrypi-poe: Drop assignment to struct pwmchip::base Uwe Kleine-König
@ 2021-12-10  9:57 ` nicolas saenz julienne
  2022-02-24 12:55 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: nicolas saenz julienne @ 2021-12-10  9:57 UTC (permalink / raw)
  To: Uwe Kleine-König, Thierry Reding, Lee Jones; +Cc: linux-pwm, kernel

On Thu, 2021-12-09 at 23:08 +0100, Uwe Kleine-König wrote:
> Since commit f9a8ee8c8bcd ("pwm: Always allocate PWM chip base ID
> dynamically") there is no effect any more for assigning this variable.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---

Reviewed-by: Nicolas Saenz Julienne <nsaenz@kernel.org>

Regards,
Nicolas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] pwm: raspberrypi-poe: Drop assignment to struct pwmchip::base
  2021-12-09 22:08 [PATCH] pwm: raspberrypi-poe: Drop assignment to struct pwmchip::base Uwe Kleine-König
  2021-12-10  9:57 ` nicolas saenz julienne
@ 2022-02-24 12:55 ` Thierry Reding
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2022-02-24 12:55 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Lee Jones, Nicolas Saenz Julienne, linux-pwm, kernel

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

On Thu, Dec 09, 2021 at 11:08:51PM +0100, Uwe Kleine-König wrote:
> Since commit f9a8ee8c8bcd ("pwm: Always allocate PWM chip base ID
> dynamically") there is no effect any more for assigning this variable.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  drivers/pwm/pwm-raspberrypi-poe.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-24 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09 22:08 [PATCH] pwm: raspberrypi-poe: Drop assignment to struct pwmchip::base Uwe Kleine-König
2021-12-10  9:57 ` nicolas saenz julienne
2022-02-24 12:55 ` Thierry Reding

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.