diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-04-03 17:13:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 14:22:08 +0200 |
commit | 67082c22033b7f7bbc3cdfa172aec64bfdda84bf (patch) | |
tree | 99808432e52c177e2ebc0390c99fc6ea09dae63c /security/tomoyo/Kconfig | |
parent | 6e043704fb99e3e1d7a1bb02030e49c093cdd943 (diff) |
staging: ks7010: ks7010: factor out firmware copy process into ks7010_copy_firmware
This commit extracts firmware copy process into a new function
ks7010_copy_firmware. Because rom_buf is only needed for this
process, memory request for it has been also moved to this new
function so the error handling label release_host_and_free has
been renamed to release_host into ks7010_upload_firmware original
function.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/tomoyo/Kconfig')
0 files changed, 0 insertions, 0 deletions