firmware loader: fix comments on request_firmware_nowait
authorMing Lei <ming.lei@canonical.com>
Sat, 4 Aug 2012 04:01:24 +0000 (12:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 20:28:50 +0000 (13:28 -0700)
commit6f21a62a58bc3c80cd8b05cacb55003cccd4863e
tree38d3311c72c7fd913fa58a91d630f02eb13972ac
parent0cfc1e1e7b5347b4b6df1212f365ce6620bdd98f
firmware loader: fix comments on request_firmware_nowait

request_firmware_nowait is allowed to be called in atomic
context now if @gfp is GFP_ATOMIC, so fix the obsolete
comments and states which situations are suitable for using
it.

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