https://github.com/torvalds/linux
Revision 2ccc99b7b71976d15822ae7c41cd2ccda66d5076 authored by Stephen Hemminger on 13 June 2006, 08:17:27 UTC, committed by Linus Torvalds on 13 June 2006, 20:16:40 UTC
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>
1 parent 5e625b0
History
Tip revision: 2ccc99b7b71976d15822ae7c41cd2ccda66d5076 authored by Stephen Hemminger on 13 June 2006, 08:17:27 UTC
[PATCH] sky2: set_power_state should be void
Tip revision: 2ccc99b
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 462 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.4 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 68.9 KB
Makefile -rw-r--r-- 43.7 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top