![]() | |||||||||||||
Messages in this thread |
Hi! > > But, aren't these arguments for changing the functions to return void? > > If there is never any point in checking the results, then why have > > results at all? > > Trying to set other power states than D0 might return interesting values. > Also, you _can_ use the value to determine whether the device supports PM > states at all. Perhaps we should make pci_set_power_state(pdev, PCI_D0) to succeed in case of old device not supporting power managment? As you've said, it is effectively in PCI_D0 anyway ;-). Pavel -- if you have sharp zaurus hardware you don't need... you know my address - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-09-11 11:39 [W:1.506 / U:0.930 seconds] ©2003-2008 Jasper Spaans | |||||||||||||