Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jean Delvare
Date: Sunday, January 13, 2008 - 10:40 am

On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote:

Yes, that could be done, and I agree that it will probably be faster
than iterative review/rework cycles between you and me. I'll free some
cycles next week for that.


Really? I didn't know that. So that's another thing that the i2c
subsystem is not doing like the rest of the kernel? Can you please
point me to the code that does this?


The driver name and the device name are different things! The "name"
attribute that i2c devices have tells user-space the device name, not
the driver name.

You may not like what the i2c subsystem does but you can't ignore its
history. The name attribute of i2c devices has been there pretty much
forever and user-space relies on it, thus we can't remove it.

-- 
Jean Delvare
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/5] Clean up error returns, Jon Smirl, (Wed Dec 19, 9:41 pm)
Re: [PATCH 1/5] Implement module aliasing for i2c to trans ..., Jean Delvare, (Sun Jan 13, 10:40 am)