]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: cs5535audio: use named constants for pci_power_t values
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 2 Jan 2014 23:40:30 +0000 (00:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2014 10:43:28 +0000 (11:43 +0100)
commitc7f7898cd7166ba80784be0806b491ed7a534230
tree71992205812fc0162489a37339c2b2f84e57a3db
parenta589f85c8e40966b2ab062e8aef2f07eb1cd533b
ALSA: cs5535audio: use named constants for pci_power_t values

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression pdev;
@@

pci_set_power_state(pdev,
- 3
+ PCI_D3hot
 )
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs5535audio/cs5535audio.c