[PATCH] sky2: set_power_state should be void
authorStephen Hemminger <shemminger@osdl.org>
Tue, 13 Jun 2006 08:17:27 +0000 (17:17 +0900)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Jun 2006 20:16:40 +0000 (13:16 -0700)
commit2ccc99b7b71976d15822ae7c41cd2ccda66d5076
tree5dfe324f77344a8404333c986338abe93cb6c6bb
parent5e625b0844435e0333670d9da633304169896740
[PATCH] sky2: set_power_state should be void

The set power state function is cleaner if it doesn't return anything.
The only caller that could fail is in suspend() and it can check the argument
there.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/sky2.c