Re: [PATCH v3] gpiolib: return -ENOENT if no GPIO mapping exists

2013-12-12 Thread Linus Walleij
On Wed, Dec 11, 2013 at 3:32 AM, Alexandre Courbot wrote: > Some devices drivers make use of optional GPIO parameters. For such > drivers, it is important to discriminate between the case where no > GPIO mapping has been defined for the function they are requesting, and > the case where a mapping

Re: [PATCH v3] gpiolib: return -ENOENT if no GPIO mapping exists

2013-12-11 Thread Mika Westerberg
On Wed, Dec 11, 2013 at 11:32:28AM +0900, Alexandre Courbot wrote: > Some devices drivers make use of optional GPIO parameters. For such > drivers, it is important to discriminate between the case where no > GPIO mapping has been defined for the function they are requesting, and > the case where a

[PATCH v3] gpiolib: return -ENOENT if no GPIO mapping exists

2013-12-10 Thread Alexandre Courbot
Some devices drivers make use of optional GPIO parameters. For such drivers, it is important to discriminate between the case where no GPIO mapping has been defined for the function they are requesting, and the case where a mapping exists but an error occured while resolving it or when acquiring th