Thread (47 messages) 47 messages, 4 authors, 2011-09-16

[RFC PATCH 02/11] regulator: Fix error check in set_consumer_device_supply

From: Rajendra Nayak <hidden>
Date: 2011-09-16 07:12:23
Also in: linux-devicetree, linux-omap

On Thursday 15 September 2011 07:03 PM, Mark Brown wrote:
On Thu, Sep 15, 2011 at 04:51:58PM +0530, Rajendra Nayak wrote:
quoted
The parameters to set_consumer_device_supply() can be considered
invalid (and hence it could return -EINVAL) if nether consumer_dev nor
consumer_dev_name are passed, not when *both* are passed.
quoted
Signed-off-by: Rajendra Nayak<redacted>
No, passing both is a clear bug on the part of the caller - the two ways
of specifying the device are not supposed to be used together.
Got it, I'll just drop this one.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help