[PATCH 4/9] ARM: SPMP8000: Add ADC driver
Arnd Bergmann
arnd at arndb.de
Thu Oct 13 10:56:56 EDT 2011
On Thursday 13 October 2011, Mark Brown wrote:
> > So. No new drivers in arch/arm. And I'm going to be saying no to any
> > new per-driver data structures in mach/*.h for stuff which should be
> > generic which haven't been justified for why they need to be different
> > from someone elses.
>
> The driver specific data structures should probably just be moving to
> include/linux/platform_data which is the approved location for that sort
> of thing.
Note that we also need someone to watch over that and say no to silly
platform_data definitions being put in there, e.g. using wildly different
ways of expressing the same things in almost-identical drivers, or
using function pointers where a simple data structure is enough.
Arnd
More information about the linux-arm-kernel
mailing list