From e8ccca7bc0cff8e075f45e663af9b4783e7e1af4 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Sat, 16 May 2009 17:53:16 +0100 Subject: [PATCH] --- yaml --- r: 148285 b: refs/heads/master c: aef908434cd24dd5529065bf5d781773fad21125 h: refs/heads/master i: 148283: b1c1595cfc71ba7129858d89084b0d409066aeda v: v3 --- [refs] | 2 +- trunk/sound/soc/soc-dapm.c | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index 0a17883e4732..f99ad762e645 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6d3ddc81f5762d54ce7d1db70eb757c6c12fabbc +refs/heads/master: aef908434cd24dd5529065bf5d781773fad21125 diff --git a/trunk/sound/soc/soc-dapm.c b/trunk/sound/soc/soc-dapm.c index 04ef84106d7c..d130602b3072 100644 --- a/trunk/sound/soc/soc-dapm.c +++ b/trunk/sound/soc/soc-dapm.c @@ -67,10 +67,6 @@ static int dapm_down_seq[] = { snd_soc_dapm_post }; -static int dapm_status = 1; -module_param(dapm_status, int, 0); -MODULE_PARM_DESC(dapm_status, "enable DPM sysfs entries"); - static void pop_wait(u32 pop_time) { if (pop_time) @@ -974,16 +970,12 @@ static DEVICE_ATTR(dapm_widget, 0444, dapm_widget_show, NULL); int snd_soc_dapm_sys_add(struct device *dev) { - if (!dapm_status) - return 0; return device_create_file(dev, &dev_attr_dapm_widget); } static void snd_soc_dapm_sys_remove(struct device *dev) { - if (dapm_status) { - device_remove_file(dev, &dev_attr_dapm_widget); - } + device_remove_file(dev, &dev_attr_dapm_widget); } /* free all dapm widgets and resources */