Messages in this thread | | | Date | Tue, 3 Sep 2013 08:27:31 -0700 | From | Guenter Roeck <> | Subject | Re: [PATCH v2 0/9] Introduce hwmon_device_register_with_groups and |
| |
On Mon, Sep 02, 2013 at 12:25:35PM -0700, Guenter Roeck wrote: > On 08/31/2013 07:48 PM, Guenter Roeck wrote: > >This patch series introduces new hwmon API functions > >hwmon_device_register_with_groups() and devm_hwmon_device_register_with_groups(). > > > >hwmon_device_register_with_groups() lets callers register hwmon devices > >as well as associated sysfs attributes with a single call. This simplifies > >hwmon device registration and avoids potential race conditions seen > >if sysfs attributes are created after the initial hwmon device was > >registered. > > > >devm_hwmon_device_register_with_groups() is the managed version of the same > >function. > > > Jean, any comments on this patch series ? > > If you are ok with it, I would like to push the new API (patches 1 and 7 of the series) > into 3.12, and keep the rest for 3.13. > The commit window opened up, so this will have to wait for 3.13.
Guenter
| |