]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit650d3c4831d01efa72a2ebdaa31074e6d1b44168
tree5dfe324f77344a8404333c986338abe93cb6c6bb
parent5c2c404630f202678a8bbbd7b55ed2436bb7be1a
[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