diff options
author | Guo-Fu Tseng <cooldavid@cooldavid.org> | 2011-06-28 03:38:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-01 07:13:16 +0200 |
commit | bc057e0366cad58e55038a2cb69572d51c40cdf3 (patch) | |
tree | 741298ce8b3b4031a8a10933c1261825ad1e53f3 /drivers/net/veth.c | |
parent | jme: Fix compile warning introduced by new pm macro (diff) | |
download | linux-bc057e0366cad58e55038a2cb69572d51c40cdf3.tar.xz linux-bc057e0366cad58e55038a2cb69572d51c40cdf3.zip |
jme: Cleanup PM operations after using new PM API
1. Using enum name instead of numeric value.
2. device_set_wakeup_enable expect bool argument
adding !!() to the argument to be passed.
3. Remove non-jme-hardware related operations from
jme_clear_pm()
4. Reuse jme_clear_pm() in jme_resume() and jme_powersave_phy()
Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions