From: Kuppuswamy Sathyanarayanan Date: Thu, 17 Oct 2013 22:35:30 +0000 (-0700) Subject: intel_mid: Refactored sfi_parse_devs() function X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~30^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661b01076500e364c68dd9fdf0ef4216a75e8375;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/1382049336-21316-7-git-send-email-david.a.cohen@linux.intel.com Signed-off-by: David Cohen Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed