[PATCH 1/3] ARM: tegra: seaboard: register i2c devices

Olof Johansson olof at lixom.net
Mon Mar 7 18:26:17 EST 2011


On Mon, Mar 7, 2011 at 11:39 AM, Stephen Warren <swarren at nvidia.com> wrote:

>> They are now -- they weren't when all i2c devices were registered. I
>> can re-join them and split them when devices are re-introduced later.
> Perhaps move the common code into common_i2c_init, then put only the
> differences in ${boardname}_i2c_init(), which would currently be empty
> except to call the common function?

I'll split up again when the need arises, i.e. when the
differentiating drivers are introduced for now, I just made a common
seaboard_i2c_init that's called from the common init function, i.e.
undid the per-board split.


More information about the linux-arm-kernel mailing list