aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/firmware_loader/fallback_table.c
diff options
context:
space:
mode:
authorAndrey Smirnov <[email protected]>2018-12-21 07:28:37 +0000
committerGreg Kroah-Hartman <[email protected]>2019-01-22 09:23:17 +0000
commit8092e79204e7884f4bee3584ecfe6cf4a124d129 (patch)
treea9916d2924add24668967afc4305ad39eb195b17 /drivers/base/firmware_loader/fallback_table.c
parentdriver core: move device->knode_class to device_private (diff)
downloadkernel-8092e79204e7884f4bee3584ecfe6cf4a124d129.tar.gz
kernel-8092e79204e7884f4bee3584ecfe6cf4a124d129.zip
ihex: Share code between ihex_validate_fw() and ihex_next_binrec()
Convert both ihex_validate_fw() and ihex_next_binrec() to use a helper function to calculate next record offest. This way we only have one place implementing next record offset calculation logic. No functional change intended. Cc: Chris Healy <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: linux-kernel <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/fallback_table.c')
0 files changed, 0 insertions, 0 deletions