firmware loader: store firmware name into devres list
authorMing Lei <ming.lei@canonical.com>
Sat, 4 Aug 2012 04:01:25 +0000 (12:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 20:28:50 +0000 (13:28 -0700)
commitf531f05ae9437df5ba1ebd90017e4dd5526048e9
tree521f6c0009ceb08ace740a185faf525677ec6bd9
parent6f21a62a58bc3c80cd8b05cacb55003cccd4863e
firmware loader: store firmware name into devres list

This patch will store firmware name into devres list of the device
which is requesting firmware loading, so that we can implement
auto cache and uncache firmware for devices in need.

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>
drivers/base/firmware_class.c