Re: [PATCH 1/2] of: irq: use of_property_read_bool() for "interrupt-controller" prop

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

 




On Sat, Jul 08, 2017 at 11:29:51PM +0300, Sergei Shtylyov wrote:
> The "interrupt-controller" property is boolean, i.e. has no value.  The DT
> interrupt parsing code predates of_property_read_bool(), so it uses either
> of_get_property() or of_find_property() -- the former isn't quite correct
> for the boolean props (but works somehow). Use the modern boolean prop API
> instead.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
> 
> ---
>  drivers/of/irq.c |    5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Both applied, thanks.

Any plans to convert other users?

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux