Thread (24 messages) 24 messages, 3 authors, 2014-09-12

Re: [PATCH V2 2/2] Input: misc: introduce palmas-pwrbutton

From: Nishanth Menon <hidden>
Date: 2014-08-21 17:20:11
Also in: linux-arm-kernel, linux-devicetree, linux-omap, lkml

On 08/21/2014 11:59 AM, Murphy, Dan wrote:
[...]
Ooops.. missed answering one addition statement:
quoted
+	of_property_read_u32(np, "ti,palmas-long-press-seconds", &val);
Probably should check the return to make sure the value exists and that is is
within an expected range.
It is an optional parameter and may not exist in dt. when it does
exist, the logic tries to do a best match (this is the for loop in the
logic just below).

-- 
Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help