diff options
author | John W. Linville <linville@tuxdriver.com> | 2005-09-28 17:50:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 15:36:58 -0700 |
commit | d3535fbbce0eef8faa8de30d187fc83b11b858ef (patch) | |
tree | e0bad970776d58a8a79bfeb12d310acabe05aa61 /drivers/char/ip2/i2os.h | |
parent | b30197d2c07b396907b81673354a015a9d2b216c (diff) |
[PATCH] pci: cleanup need_restore switch statement
Cleanup the need_restore switch statement in
pci_set_power_state(). This makes it more safe by explicitly handling
all the PCI power states instead of handling them as the default
case. It also reads a little better IMHO.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/ip2/i2os.h')
0 files changed, 0 insertions, 0 deletions