Re: [RFC PATCH 10/13] driver core: devres: introduce devres_for_each_res

2012-07-26 Thread Ming Lei
On Thu, Jul 26, 2012 at 12:25 AM, Borislav Petkov wrote: > On Wed, Jul 25, 2012 at 01:00:10AM +0800, Ming Lei wrote: >> This patch introduces one devres API of devres_for_each_res >> so that the device's driver can iterate each resource it has >> interest in. >> >> The firmware loader will use the

Re: [RFC PATCH 10/13] driver core: devres: introduce devres_for_each_res

2012-07-25 Thread Borislav Petkov
On Wed, Jul 25, 2012 at 01:00:10AM +0800, Ming Lei wrote: > This patch introduces one devres API of devres_for_each_res > so that the device's driver can iterate each resource it has > interest in. > > The firmware loader will use the API to get each firmware name > from the device instance. > >