[PATCH 0/7] ARM: SAMSUNG: Cleanup SPI platform specific code
jassisinghbrar at gmail.com
Thu Jun 30 03:31:57 EDT 2011
On Thu, Jun 30, 2011 at 5:55 PM, Padmavathi Venna <padma.v at samsung.com> wrote:
> This patchset does the following:
> 1. Move duplicated code to common place
> [PATCH 1/7] ARM: SAMSUNG: Move SPI device definitions to plat-samsung
> SPI platform devices are defined in respective machine folder of
> Samsung S3C64XX and S5P series SoCs.This is duplicated for every SoC.
> So all SPI platform devices are moved to a common place.
The machine specific code is put in machine specific location for some reason.
And the code is not duplicated, it's mostly data structures
initialized with machine
Have you considered if it would still be possible to build kernel
more than 1 soc after your changes ?
More information about the linux-arm-kernel