[alsa-devel] [PATCH 2/4] ASoC: s3c64xx/smartq: use dynamic registration
broonie at kernel.org
Sat Jul 12 12:49:03 PDT 2014
On Sat, Jul 12, 2014 at 05:27:59PM +0200, Lars-Peter Clausen wrote:
> On 07/11/2014 03:45 PM, Arnd Bergmann wrote:
> >As a prerequisite for moving s3c64xx into multiplatform configurations,
> >we need to change the smartq audio driver to stop using hardcoded
> >gpio numbers from the header file, and instead pass the gpio data
> >through platform_data.
> This should be using the gpiod API. The gpiod API allows you to pass the
> GPIOs without having to add a platform_data struct.
OTOH that's a more invasive change that's harder to do mechanically -
I'm not sure it's sensible to insist on someone doing it for generic
cleanups (rather than actively working with the particular platform).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the linux-arm-kernel