[PATCH v3 0/3] Intel MID platform code cleanups

From: David Cohen
Date: Thu Jan 16 2014 - 18:02:06 EST


These patches are first cleanups on improving how Intel MID detects error in
its platform code.
But due to current state of platform code is pretty bad, this first set does
only cleanups (no functional changes). Functional fixes are coming in near

Change from v2 to v3:
- Since these patches are relevant for drivers being upstreamed (but not yet),
I have no actual error to explain using only in-tree code. In order to
address Ingo's comment about being more clear on changelogs, I stripped out
functional changes from v2 and explicitly said I am sending cleanups for now.

Br, David Cohen

David Cohen (3):
x86: intel-mid: sfi_handle_*_dev() should check for pdata error code
x86: intel-mid: check get_gpio_by_name() error code on platform code
x86: intel-mid: return proper error code from get_gpio_by_name()

arch/x86/platform/intel-mid/device_libs/platform_emc1403.c | 4 +++-
arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c | 2 +-
arch/x86/platform/intel-mid/device_libs/platform_lis331.c | 4 +++-
arch/x86/platform/intel-mid/device_libs/platform_max7315.c | 2 +-
arch/x86/platform/intel-mid/device_libs/platform_mpu3050.c | 2 +-
arch/x86/platform/intel-mid/device_libs/platform_pmic_gpio.c | 2 +-
arch/x86/platform/intel-mid/device_libs/platform_tca6416.c | 4 ++--
arch/x86/platform/intel-mid/sfi.c | 8 +++++++-
8 files changed, 19 insertions(+), 9 deletions(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/