Re: [RESEND PATCH] pwm: pwm-atmel-tcb: pinctrl support

From: Thierry Reding
Date: Thu May 23 2013 - 15:38:35 EST


On Thu, May 23, 2013 at 06:38:52PM +0200, Boris BREZILLON wrote:
> Hello,
>
> I sent a patch 1 month ago to add pinctrl support to pwm-atmel-tcb
> driver and didn't get any review.
>
> Could you take a look?
>
> This patch adds pins request for the pwm device exposed by the TC
> block using the pinctrl subsystem.

I was actually looking at this a few days back and thought I remembered
this being handled in the core now. There was some discussion about this
back in January (?) as far as I remember. I just verified that indeed
there is code in the driver core code to do this. See commit:

ab78029ecc347debbd737f06688d788bd9d60c1d drivers/pinctrl: grab default handles from device core

Are you sure this is really necessary in the driver?

Thierry

Attachment: pgp00000.pgp
Description: PGP signature