summaryrefslogtreecommitdiffstats
path: root/include/sound/rt5645.h
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2015-06-10 14:27:57 +0800
committerMark Brown <broonie@kernel.org>2015-06-10 18:32:02 +0100
commit0b0cefc8fd105f379989164f3ef7e5b4a0d44c1f (patch)
treeacc4fe8101237cfede3cf282d662d8334de7d810 /include/sound/rt5645.h
parent5ae4f63b5062bc4e329940cc5cecdf0856b85849 (diff)
downloadlinux-0-day-0b0cefc8fd105f379989164f3ef7e5b4a0d44c1f.tar.gz
linux-0-day-0b0cefc8fd105f379989164f3ef7e5b4a0d44c1f.tar.xz
ASoC: rt5645: change gpio to gpiod APIs
Move gpio to gpio_desc and use gpiod APIs in codec driver. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/rt5645.h')
-rw-r--r--include/sound/rt5645.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/rt5645.h b/include/sound/rt5645.h
index 652cb9e4afe56..22734bc3ffd4a 100644
--- a/include/sound/rt5645.h
+++ b/include/sound/rt5645.h
@@ -20,9 +20,6 @@ struct rt5645_platform_data {
unsigned int dmic2_data_pin;
/* 0 = IN2P; 1 = GPIO6; 2 = GPIO10; 3 = GPIO12 */
- unsigned int hp_det_gpio;
- bool gpio_hp_det_active_high;
-
unsigned int jd_mode;
};