]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
usb: host: ohci-pxa27x: use of_property_read_bool()
authorSaurabh Sengar <saurabh.truth@gmail.com>
Mon, 16 Nov 2015 12:48:33 +0000 (18:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2015 22:36:29 +0000 (14:36 -0800)
commit144e38c6bebe41da8dc0e611f70fee53ce22604f
tree9f61c982f1e6bdd8f29b48e2441a93c9d67a4850
parentb36d83913ae55c7619ac80185fb707bc30fd41c5
usb: host: ohci-pxa27x: use of_property_read_bool()

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>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-pxa27x.c