]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: fw-download: Create a macro for length of firmware file's name
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 2 May 2016 05:21:49 +0000 (10:51 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 4 May 2016 00:26:36 +0000 (17:26 -0700)
commit7557d0481bdeed86780c073e591df0330ec88a9e
tree1405ae6710cfaa14526049c0432829f620b9b582
parentcca22207673896262443c72f19b049552d65f88e
greybus: fw-download: Create a macro for length of firmware file's name

Create a macro representing the length of the firmware file's name and
use that instead of using magic number in the code.

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