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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jean Delvare <khali@...>
Cc: <linuxppc-dev@...>, <i2c@...>, <linux-kernel@...>
Date: Saturday, January 12, 2008 - 12:26 pm

On 1/12/08, Jean Delvare <khali@linux-fr.org> wrote:

The common scheme used elsewhere in the kernel for handling more than
one device in a single driver is aliases. The i2c code's existing
driver_name/type combination is a different way of implementing the
same feature. But there is no real need for driver_name/type on any
platform if aliases are used. Back in version 10 or 11 I had code in
there which replaced the two fields with aliases on all platforms but
too many people objected so I removed it..

IMHO, driver_name/type should be removed in new style drivers and
replaced with aliases on all platforms since aliases are the standard
kernel mechanism.





-- 
Jon Smirl
jonsmirl@gmail.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [i2c] [PATCH 0/5] Version 17, series to add device tree ..., Jochen Friedrich, (Fri Jan 11, 12:05 pm)
Re: [i2c] [PATCH 1/5] Implement module aliasing for i2c to t..., Jon Smirl, (Sat Jan 12, 12:26 pm)
[PATCH 3/5] Clean up error returns, Jon Smirl, (Thu Dec 20, 12:41 am)