firmware: add helper to check to see if fw cache is setup
authorLuis R. Rodriguez <mcgrof@kernel.org>
Sat, 10 Mar 2018 14:14:57 +0000 (06:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Mar 2018 08:28:47 +0000 (09:28 +0100)
commit3194d06a7e41d31ea4d8771b1ff3d93445e27403
treed6004690bb7483063d36ce17f8f3725db4a24612
parentd15d7311550983be97dca44ad68cbc2ca001297b
firmware: add helper to check to see if fw cache is setup

Add a helper to check if the firmware cache is already setup for a device.
This will be used later.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_loader/main.c