From: John W. Linville Date: Wed, 28 Sep 2005 21:50:51 +0000 (-0400) Subject: [PATCH] pci: cleanup need_restore switch statement X-Git-Tag: v2.6.15-rc1~731^2~22^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3535fbbce0eef8faa8de30d187fc83b11b858ef;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed