usb: common: use of_property_read_bool()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 20 Aug 2017 18:06:52 +0000 (21:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 09:39:31 +0000 (11:39 +0200)
commit334007d52597ebb079766ab34711728677130068
treeafb2d77419e49d99d14e939b1a33e0a2f6be943d
parentb64d47ae62e5f56727ad6dc2088e13dfab524a83
usb: common: use of_property_read_bool()

Use more compact of_property_read_bool() calls for the boolean properties
instead  of of_find_property() calls  in of_usb_host_tpl_support() and
of_usb_update_otg_caps().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/common/common.c