u-boot/drivers/usb
Simon Glass 7d14ee443c dm: core: Use dev_has_ofnode() instead of dev_of_valid()
We have two functions which do the same thing. Standardise on
dev_has_ofnode() since there is no such thing as an 'invalid' ofnode in
normal operation: it is either null or missing.

Also move the functions into one place.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2021-01-05 12:24:41 -07:00
..
cdns3 dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
common usb: common: add define of usb_speed_string() 2020-10-20 00:49:05 +02:00
dwc3 dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
emul dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
eth dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
gadget dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
host dm: core: Use dev_has_ofnode() instead of dev_of_valid() 2021-01-05 12:24:41 -07:00
mtu3 dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
musb common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
musb-new dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
phy common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig usb: add MediaTek USB3 DRD driver 2020-10-20 00:49:05 +02:00