diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2015-02-16 15:41:02 +0000 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-03-04 09:41:48 +0900 |
commit | 112bdfaa525fd5993e17885861342893f15290b0 (patch) | |
tree | 9604310e1c88d9b8263b189fc809766aaf532c50 /include/linux/mfd | |
parent | 27a28d32b4f22a4ae687837aeda6afb42116cca4 (diff) |
extcon: arizona: Deobfuscate arizona_extcon_do_magic
arizona_extcon_do_magic does not lend a lot of clarity to the purpose
of the function, and as all the registers used are described in the
datasheet there is no need to obfuscate the code. This patch renames the
function to arizona_extcon_hp_clamp, as it controls clamping on the
headphone output.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/arizona/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/arizona/core.h b/include/linux/mfd/arizona/core.h index 910e3aa1e965..4863548faff7 100644 --- a/include/linux/mfd/arizona/core.h +++ b/include/linux/mfd/arizona/core.h @@ -126,7 +126,7 @@ struct arizona { struct regmap_irq_chip_data *aod_irq_chip; struct regmap_irq_chip_data *irq_chip; - bool hpdet_magic; + bool hpdet_clamp; unsigned int hp_ena; struct mutex clk_lock; |