]> git.karo-electronics.de Git - linux-beck.git/commitdiff
greybus: firmware: use 'tag' instead of 'firmware_tag'
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 10 Aug 2016 17:48:31 +0000 (10:48 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 11 Aug 2016 12:14:54 +0000 (14:14 +0200)
We already have another direct pointer for this, use that instead.

Testing Done: Compiled.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/fw-download.c

index 41a45ecb62b65dd4bf65955e91bfb2a3e31d1007..16de71cd9e331b6a62413acd9c2fb01f763608bd 100644 (file)
@@ -245,7 +245,7 @@ static int fw_download_find_firmware(struct gb_operation *op)
                return -EINVAL;
        }
 
-       fw_req = find_firmware(fw_download, request->firmware_tag);
+       fw_req = find_firmware(fw_download, tag);
        if (IS_ERR(fw_req))
                return PTR_ERR(fw_req);