diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-24 18:38:08 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-30 07:50:13 -0700 |
commit | 83012a7ccbb90dee33c97a004b3e374f988612af (patch) | |
tree | 4e6e4c6f1f21150a4c82cbbefb97995cda924d17 /sound/pci/hda/hda_hwdep.c | |
parent | 432c641e013d6e294e2ddf06d32a610eb1d4d856 (diff) | |
download | op-kernel-dev-83012a7ccbb90dee33c97a004b3e374f988612af.zip op-kernel-dev-83012a7ccbb90dee33c97a004b3e374f988612af.tar.gz |
ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE
CONFIG_SND_HDA_POWER_SAVE is no longer an experimental feature and its
behavior can be well controlled via the default value and module
parameter. Let's just replace it with the standard CONFIG_PM.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_hwdep.c')
-rw-r--r-- | sound/pci/hda/hda_hwdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c index b9a644c..1af86d4 100644 --- a/sound/pci/hda/hda_hwdep.c +++ b/sound/pci/hda/hda_hwdep.c @@ -155,7 +155,7 @@ int /*__devinit*/ snd_hda_create_hwdep(struct hda_codec *codec) return 0; } -#ifdef CONFIG_SND_HDA_POWER_SAVE +#ifdef CONFIG_PM static ssize_t power_on_acct_show(struct device *dev, struct device_attribute *attr, char *buf) @@ -191,7 +191,7 @@ int snd_hda_hwdep_add_power_sysfs(struct hda_codec *codec) hwdep->device, &power_attrs[i]); return 0; } -#endif /* CONFIG_SND_HDA_POWER_SAVE */ +#endif /* CONFIG_PM */ #ifdef CONFIG_SND_HDA_RECONFIG |