Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1270297

Re: [PATCH v2] usb: host: ohci-pxa27x: use of_property_read_bool()

From Alan Stern <stern@rowland.harvard.edu>
Newsgroups linux.kernel
Subject Re: [PATCH v2] usb: host: ohci-pxa27x: use of_property_read_bool()
Date 2015-11-16 16:50 +0100
Message-ID <qvucx-It-17@gated-at.bofh.it> (permalink)
References <qvry3-7qr-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 16 Nov 2015, Saurabh Sengar wrote:

> for checking if a property is present or not,
> of_property_read_bool is more appropriate than of_get_property()
> 
> Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
> ---
> v2 : replaced then to than in description

Acked-by: Alan Stern <stern@rowland.harvard.edu>

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] usb: host: ohci-pxa27x: use of_property_read_bool() Saurabh Sengar <saurabh.truth@gmail.com> - 2015-11-15 15:40 +0100
  Re: [PATCH] usb: host: ohci-pxa27x: use of_property_read_bool() Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-11-16 13:20 +0100
    [PATCH v2] usb: host: ohci-pxa27x: use of_property_read_bool() Saurabh Sengar <saurabh.truth@gmail.com> - 2015-11-16 14:00 +0100
      Re: [PATCH v2] usb: host: ohci-pxa27x: use of_property_read_bool() Alan Stern <stern@rowland.harvard.edu> - 2015-11-16 16:50 +0100

csiph-web