]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mfd: ab8500-gpadc: Optimise GPADC driver
authorLee Jones <lee.jones@linaro.org>
Mon, 11 Feb 2013 10:49:41 +0000 (10:49 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:28:35 +0000 (12:28 +0800)
commit7c8f023616f89c3796331cece68b7efdc5a0b1ca
tree4c165cfb443660beb1f9e333ee22e17bddd34d51
parentbc6b4132bcae4b8e59766ba2dae8f377009b26d0
mfd: ab8500-gpadc: Optimise GPADC driver

Optimise GPADC driver:
 * for code readability and maintenance by grouping similar cheking
 * for performance by grouping several writing to control register

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-gpadc.c