ihex: request_ihex_firmware() function to load and validate firmware
commitf1485f3deb89e6ae10c4d34662ec9e692855ab5d
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 31 May 2008 12:20:37 +0000 (31 15:20 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:47:38 +0000 (10 14:47 +0100)
tree8d7d03cabfbd38e904d76c96aa1b5a1e830dac22
parentbacfe09dd7545467965e8d8f1eab20bc62dce00d
ihex: request_ihex_firmware() function to load and validate firmware

Provide a helper to load the file and validate it in one call, to
simplify error handling in the drivers which are going to use it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/ihex.h