Re: [PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-04-07 Thread Maxime Ripard
Hi, On Thu, Jan 23, 2014 at 11:16:01AM -0800, Curt Brune wrote: > Create a new hardware class under /sys/class/eeprom_dev > > EEPROM drivers can register their devices with the eeprom_dev class > during instantiation. > > The registered devices show up as: > > /sys/class/eeprom_dev/eeprom0 >

Re: [PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-02-11 Thread Laszlo Papp
On Sat, Jan 25, 2014 at 12:23 AM, Andy Lutomirski wrote: > On 01/23/2014 11:16 AM, Curt Brune wrote: >> Create a new hardware class under /sys/class/eeprom_dev >> >> EEPROM drivers can register their devices with the eeprom_dev class >> during instantiation. >> >> The registered devices show up as

Re: [PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-01-24 Thread Andy Lutomirski
On 01/23/2014 11:16 AM, Curt Brune wrote: > Create a new hardware class under /sys/class/eeprom_dev > > EEPROM drivers can register their devices with the eeprom_dev class > during instantiation. > > The registered devices show up as: > > /sys/class/eeprom_dev/eeprom0 > /sys/class/eeprom_dev

Re: [PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-01-24 Thread Laszlo Papp
On Fri, Jan 24, 2014 at 7:27 PM, Curt Brune wrote: > On Fri Jan 24 18:42, Laszlo Papp wrote: >> > Note: The class cannot be called 'eeprom' as that is the name of the >> > I/O file created by the driver. The class name appears as a >> > sub-directory within the main device directory. Hence the c

Re: [PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-01-24 Thread Curt Brune
On Fri Jan 24 18:42, Laszlo Papp wrote: > > Note: The class cannot be called 'eeprom' as that is the name of the > > I/O file created by the driver. The class name appears as a > > sub-directory within the main device directory. Hence the class name > > 'eeprom_dev'. > > I am not sure I follow t

Re: [PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-01-24 Thread Laszlo Papp
> Note: The class cannot be called 'eeprom' as that is the name of the > I/O file created by the driver. The class name appears as a > sub-directory within the main device directory. Hence the class name > 'eeprom_dev'. I am not sure I follow the reasoning here, but it is possibly because I lack

[PATCH v2 1/2] Create eeprom_dev hardware class for EEPROM devices

2014-01-23 Thread Curt Brune
Create a new hardware class under /sys/class/eeprom_dev EEPROM drivers can register their devices with the eeprom_dev class during instantiation. The registered devices show up as: /sys/class/eeprom_dev/eeprom0 /sys/class/eeprom_dev/eeprom1 ... /sys/class/eeprom_dev/eeprom[N] Each membe