diff options
author | Kuppuswamy Sathyanarayanan <[email protected]> | 2013-10-17 15:35:30 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2013-10-17 16:40:48 -0700 |
commit | 661b01076500e364c68dd9fdf0ef4216a75e8375 (patch) | |
tree | cdca7b9be99822e60994229061e1a399e3b13f45 /lib/test-string_helpers.c | |
parent | 712b6aa8731a7e148298c58cea66a5209c659e3c (diff) |
intel_mid: Refactored sfi_parse_devs() function
SFI device_id[] table parsing code is duplicated in every SFI
device handler. This patch removes this code duplication, by
adding a seperate function get_device_id() to parse through the
device table. Also this patch moves the SPI, I2C, IPC info code from
sfi_parse_devs() to respective device handlers.
Signed-off-by: Kuppuswamy Sathyanarayanan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: David Cohen <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions