]> git.baikalelectronics.ru Git - kernel.git/commit
smsc9420: use named constants for pci_power_t values
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 2 Jan 2014 23:40:31 +0000 (00:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jan 2014 00:58:48 +0000 (19:58 -0500)
commit37272b9716d2a0c9b5fbbac7dcb9c7dedf473604
tree152281ce9da3eef43b507d56dc45f761e716015d
parent206f6f23cfca6765adbdeaad60421cd9b8c60341
smsc9420: use named constants for pci_power_t values

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

// <smpl>
@@
expression e1,e2;
@@

pci_enable_wake(e1,
- 0
+ PCI_D0
,e2)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc9420.c