12 Jul
2014
12 Jul
'14
9:49 p.m.
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).