aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2015-02-16 10:41:02 -0500
committerChanwoo Choi <cw00.choi@samsung.com>2015-03-03 19:41:48 -0500
commit112bdfaa525fd5993e17885861342893f15290b0 (patch)
tree9604310e1c88d9b8263b189fc809766aaf532c50 /include/linux/mfd
parent27a28d32b4f22a4ae687837aeda6afb42116cca4 (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.h2
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 {
126 struct regmap_irq_chip_data *aod_irq_chip; 126 struct regmap_irq_chip_data *aod_irq_chip;
127 struct regmap_irq_chip_data *irq_chip; 127 struct regmap_irq_chip_data *irq_chip;
128 128
129 bool hpdet_magic; 129 bool hpdet_clamp;
130 unsigned int hp_ena; 130 unsigned int hp_ena;
131 131
132 struct mutex clk_lock; 132 struct mutex clk_lock;