[PATCH 1/2] i2c: Add support for device alias names

2008-04-28 Thread Jean Delvare
Based on earlier work by Jon Smirl and Jochen Friedrich. This patch allows new-style i2c chip drivers to have alias names using the official kernel aliasing system and MODULE_DEVICE_TABLE(). At this point, the old i2c driver binding scheme (driver_name/type) is still supported. Signed-off-by: Jea

Re: [PATCH 1/2] i2c: Add support for device alias names

2008-04-28 Thread Jon Smirl
On 4/28/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > Based on earlier work by Jon Smirl and Jochen Friedrich. > > This patch allows new-style i2c chip drivers to have alias names using > the official kernel aliasing system and MODULE_DEVICE_TABLE(). At this > point, the old i2c driver binding s

Re: [PATCH 1/2] i2c: Add support for device alias names

2008-04-28 Thread Kay Sievers
On Mon, 2008-04-28 at 11:39 +0200, Jean Delvare wrote: > Based on earlier work by Jon Smirl and Jochen Friedrich. > > This patch allows new-style i2c chip drivers to have alias names using > the official kernel aliasing system and MODULE_DEVICE_TABLE(). At this > point, the old i2c driver binding

Re: [PATCH 1/2] i2c: Add support for device alias names

2008-04-28 Thread Jean Delvare
Hi Kay, On Mon, 28 Apr 2008 17:07:25 +0200, Kay Sievers wrote: > On Mon, 2008-04-28 at 11:39 +0200, Jean Delvare wrote: > > One thing I am still not happy with is that the aliases created have a > > trailing "*": > > > > $ /sbin/modinfo lm90 > > filename: /lib/modules/2.6.25-git11/kernel/dr

Re: [PATCH 1/2] i2c: Add support for device alias names

2008-04-28 Thread Jean Delvare
Hi Jon, On Mon, 28 Apr 2008 10:43:35 -0400, Jon Smirl wrote: > On 4/28/08, Jean Delvare <[EMAIL PROTECTED]> wrote: > > One thing I am still not happy with is that the aliases created have a > > trailing "*": > > > > $ /sbin/modinfo lm90 > > filename: /lib/modules/2.6.25-git11/kernel/driv

Re: [PATCH 1/2] i2c: Add support for device alias names

2008-04-28 Thread Kay Sievers
On Mon, 2008-04-28 at 17:40 +0200, Jean Delvare wrote: > On Mon, 28 Apr 2008 17:07:25 +0200, Kay Sievers wrote: > > On Mon, 2008-04-28 at 11:39 +0200, Jean Delvare wrote: > > > One thing I am still not happy with is that the aliases created have a > > > trailing "*": > > > > > > $ /sbin/modinfo lm

Re: [PATCH 1/2] i2c: Add support for device alias names

2008-05-01 Thread Jean Delvare
Hi Kay, On Mon, 28 Apr 2008 18:16:17 +0200, Kay Sievers wrote: > On Mon, 2008-04-28 at 17:40 +0200, Jean Delvare wrote: > > Why would i2c device modaliases ever contain multiple strings? A device > > can't have multiple names, can it? > > Like ACPI/PNP devices, which can have several compat id's,

Re: [PATCH 1/2] i2c: Add support for device alias names

2008-05-01 Thread Kay Sievers
On Thu, 2008-05-01 at 10:04 +0200, Jean Delvare wrote: > On Mon, 28 Apr 2008 18:16:17 +0200, Kay Sievers wrote: > > On Mon, 2008-04-28 at 17:40 +0200, Jean Delvare wrote: > > > Why would i2c device modaliases ever contain multiple strings? A device > > > can't have multiple names, can it? > > > >