From: Rafael J. Wysocki Date: Wed, 28 Mar 2012 21:29:55 +0000 (+0200) Subject: firmware_class: Split _request_firmware() into three functions, v2 X-Git-Tag: v3.4-rc2~19^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=811fa4004485dec8977176bf605a5b0508ee206c;p=pandora-kernel.git firmware_class: Split _request_firmware() into three functions, v2 Split _request_firmware() into three functions, _request_firmware_prepare() doing preparatory work that need not be done under umhelper_sem, _request_firmware_cleanup() doing the post-error cleanup and _request_firmware() carrying out the remaining operations. This change is requisite for moving the acquisition of umhelper_sem from _request_firmware() to the callers, which is going to be done subsequently. Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman Reviewed-by: Stephen Boyd Cc: stable@vger.kernel.org --- Reading git-diff-tree failed