Re: [PATCH] MAINTAINERS: add i2c tree for embedded platforms

From: Jean Delvare
Date: Tue Jan 26 2010 - 10:25:25 EST


On Tue, 26 Jan 2010 14:38:30 +0000, Ben Dooks wrote:
> On Mon, Jan 25, 2010 at 11:10:55AM +0100, Jean Delvare wrote:
> > On Mon, 25 Jan 2010 10:20:34 +0100, Uwe Kleine-K??nig wrote:
> > > Signed-off-by: Uwe Kleine-K??nig <u.kleine-koenig@xxxxxxxxxxxxxx>
> > > Cc: Ben Dooks <ben-linux@xxxxxxxxx>
> > > ---
> > > Hello,
> > >
> > > I wonder if it makes sence to split the "I2C SUBSYSTEM" entry into
> > > something like:
> > >
> > > I2C SUBSYSTEM (PC drivers, core)
> > > M: Jean Delvare <khali@xxxxxxxxxxxx>
> > > L: ...
> > > W: ...
> > > T: quilt ...
> > > S: ...
> > > F: Documentation/i2c/
> > > F: drivers/i2c/
> > > F: include/linux/i2c.h
> > > F: include/linux/i2c-*.h
> > >
> > > I2C SUBSYSTEM (embedded platforms)
> > > M: Ben Dooks <ben-linux@xxxxxxxxx>
> > > L: ...
> > > W: ...
> > > T: git ...
> > > S: ...
> > > F: drivers/i2c/
> > > F: include/linux/i2c-*.h
> > >
> > > (I'm not entirely sure about the file patterns for the 2nd entry.)
> >
> > I'm not sure what value it adds, compared to having a single entry as
> > we have today. scripts/get_maintainer.pl will produce the same output,
> > won't it?
> >
> > This script (and our minds) being directory-driven, I suspect that the
> > only efficient way to split the entries would be to first move all i2c bus
> > driver for embedded platforms to a separate subdirectory. I'm leaving
> > it to Ben and the embedded community to decide whether they want to do
> > that or not.
>
> I'd much prefer to see just the one directory of i2c drivers, the
> minor point being people silly enough to load modules by explicit path

Never thought of that, but I wouldn't care. There is no good reason to
do this.

> and the second is that having all the drivers in one place makes it
> easier to update them when changing something in the core...

This doesn't seem to be a blocker either. For one thing, i2c
subsystem-wide changes tend to affect chip drivers more than bus
drivers. And even then, looking for drivers in 2 directories doesn't
seem much harder than looking into just one, especially when said 2
directories live next to each other.

So I see no objection to a mass move of all embedded/system i2c bus
drivers to a separate sub-directory.

--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/