Re: [GIT PATCH] More PCI patches for 2.6.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, 10 Sep 2005, John W. Linville wrote:
> 
> 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.

There are tons of functions that return values. That doesn't mean that you 
always have to check them.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux