commit | bddb1b9078505bb0e430c87c5015c0963f7a594f | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Sat Aug 04 12:01:26 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 16 13:30:29 2012 -0700 |
tree | ef3d3a201dd23633d5c2dad8fb00be82a35f3023 | |
parent | f531f05ae9437df5ba1ebd90017e4dd5526048e9 [diff] |
driver core: devres: introduce devres_for_each_res 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. Signed-off-by: Ming Lei <ming.lei@canonical.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>