All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Lee Jones <lee.jones@linaro.org>,
	linux-pwm@vger.kernel.org, kernel@pengutronix.de
Subject: Re: [PATCH] pwm: Always allocate pwm id dynamically
Date: Mon, 22 Mar 2021 11:54:19 +0100	[thread overview]
Message-ID: <YFh3WySq+dxZPDHm@orome.fritz.box> (raw)
In-Reply-To: <20210301185719.1689526-1-u.kleine-koenig@pengutronix.de>

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

On Mon, Mar 01, 2021 at 07:57:19PM +0100, Uwe Kleine-König wrote:
> Since commit 5e5da1e9fbee ("pwm: ab8500: Explicitly allocate pwm chip
> base dynamically") all drivers use dynamic id allocation explicitly. New
> drivers are supposed to do the same, so remove support for driver
> specified ids and drop all assignments in the low-level drivers.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  drivers/pwm/core.c             | 25 +++++++------------------
>  drivers/pwm/pwm-ab8500.c       |  1 -
>  drivers/pwm/pwm-atmel-hlcdc.c  |  1 -
>  drivers/pwm/pwm-atmel-tcb.c    |  1 -
>  drivers/pwm/pwm-atmel.c        |  1 -
>  drivers/pwm/pwm-bcm-iproc.c    |  1 -
>  drivers/pwm/pwm-bcm-kona.c     |  1 -
>  drivers/pwm/pwm-bcm2835.c      |  1 -
>  drivers/pwm/pwm-berlin.c       |  1 -
>  drivers/pwm/pwm-brcmstb.c      |  1 -
>  drivers/pwm/pwm-clps711x.c     |  1 -
>  drivers/pwm/pwm-crc.c          |  1 -
>  drivers/pwm/pwm-cros-ec.c      |  1 -
>  drivers/pwm/pwm-dwc.c          |  1 -
>  drivers/pwm/pwm-ep93xx.c       |  1 -
>  drivers/pwm/pwm-fsl-ftm.c      |  1 -
>  drivers/pwm/pwm-hibvt.c        |  1 -
>  drivers/pwm/pwm-img.c          |  1 -
>  drivers/pwm/pwm-imx-tpm.c      |  1 -
>  drivers/pwm/pwm-imx1.c         |  1 -
>  drivers/pwm/pwm-imx27.c        |  1 -
>  drivers/pwm/pwm-intel-lgm.c    |  1 -
>  drivers/pwm/pwm-iqs620a.c      |  1 -
>  drivers/pwm/pwm-jz4740.c       |  1 -
>  drivers/pwm/pwm-keembay.c      |  1 -
>  drivers/pwm/pwm-lp3943.c       |  1 -
>  drivers/pwm/pwm-lpc18xx-sct.c  |  1 -
>  drivers/pwm/pwm-lpc32xx.c      |  1 -
>  drivers/pwm/pwm-lpss.c         |  1 -
>  drivers/pwm/pwm-mediatek.c     |  1 -
>  drivers/pwm/pwm-meson.c        |  1 -
>  drivers/pwm/pwm-mtk-disp.c     |  1 -
>  drivers/pwm/pwm-mxs.c          |  1 -
>  drivers/pwm/pwm-omap-dmtimer.c |  1 -
>  drivers/pwm/pwm-pca9685.c      |  1 -
>  drivers/pwm/pwm-pxa.c          |  1 -
>  drivers/pwm/pwm-rcar.c         |  1 -
>  drivers/pwm/pwm-renesas-tpu.c  |  1 -
>  drivers/pwm/pwm-rockchip.c     |  1 -
>  drivers/pwm/pwm-samsung.c      |  1 -
>  drivers/pwm/pwm-sifive.c       |  1 -
>  drivers/pwm/pwm-sl28cpld.c     |  1 -
>  drivers/pwm/pwm-spear.c        |  1 -
>  drivers/pwm/pwm-sprd.c         |  1 -
>  drivers/pwm/pwm-sti.c          |  1 -
>  drivers/pwm/pwm-stm32-lp.c     |  1 -
>  drivers/pwm/pwm-stm32.c        |  1 -
>  drivers/pwm/pwm-stmpe.c        |  1 -
>  drivers/pwm/pwm-sun4i.c        |  1 -
>  drivers/pwm/pwm-tegra.c        |  1 -
>  drivers/pwm/pwm-tiecap.c       |  1 -
>  drivers/pwm/pwm-tiehrpwm.c     |  1 -
>  drivers/pwm/pwm-twl-led.c      |  1 -
>  drivers/pwm/pwm-twl.c          |  1 -
>  drivers/pwm/pwm-vt8500.c       |  1 -
>  55 files changed, 7 insertions(+), 72 deletions(-)

Applied, thanks.

Thierry

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

      reply	other threads:[~2021-03-22 10:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-01 18:57 [PATCH] pwm: Always allocate pwm id dynamically Uwe Kleine-König
2021-03-22 10:54 ` Thierry Reding [this message]

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=YFh3WySq+dxZPDHm@orome.fritz.box \
    --to=thierry.reding@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=lee.jones@linaro.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=u.kleine-koenig@pengutronix.de \
    /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: link
Be 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.