Browse Source

greybus: firmware: use 'tag' instead of 'firmware_tag'

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>
Viresh Kumar 9 years ago
parent
commit
295b5269d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/greybus/fw-download.c

+ 1 - 1
drivers/staging/greybus/fw-download.c

@@ -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);