The first patch avoids using a workaround for IO (which seems unneeded).Tested iio_info (mrfld_bcove_adc), host/gadget switch, power button.
The rest is a batch of cleanups. Cc'ed to Ferry in hope of testing on
Intel Merrifield (the main platform that uses these APIs).
Andy Shevchenko (3):
platform/x86: intel_scu_ipc: Replace workaround by 32-bit IO
platform/x86: intel_scu_ipc: Simplify code with cleanup helpers
platform/x86: intel_scu_ipc: Save a copy of the entire struct
intel_scu_ipc_data
drivers/platform/x86/intel_scu_ipc.c | 142 ++++++++++++---------------
1 file changed, 61 insertions(+), 81 deletions(-)