intel_menlow: reduce code duplication
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Sat, 26 Mar 2016 21:40:26 +0000 (22:40 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Fri, 27 May 2016 18:47:55 +0000 (11:47 -0700)
commita29ccf6ff3e07061253b9209a65edb8c0126f78d
tree9a91ef9eaee7c0b0fb2144476ac2646271a8a5c2
parentaca234f6378864d85514be558746c0ea6eabfa8e
intel_menlow: reduce code duplication

aux0_show and aux1_show consists of almost identical code. Pull that
into a common helper and make them thin wrappers. Similarly for
_store.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel_menlow.c