Re: [PATCH v2 05/14] OdevAttribute: Add config_odev_get_attribute helper

2014-02-10 Thread Peter Hutterer
On Tue, Feb 04, 2014 at 12:49:11PM +0100, Hans de Goede wrote: Add a config_odev_get_attribute helper, and replace the diy looing over all hehe. another typo: looping. the attributes done in various places with calls to this helper. Signed-off-by: Hans de Goede hdego...@redhat.com ---

[PATCH v2 05/14] OdevAttribute: Add config_odev_get_attribute helper

2014-02-04 Thread Hans de Goede
Add a config_odev_get_attribute helper, and replace the diy looing over all the attributes done in various places with calls to this helper. Signed-off-by: Hans de Goede hdego...@redhat.com --- config/config.c| 23 +++