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
..
2020-12-18 20:32:21 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2020-12-18 20:32:21 -07:00
2020-01-27 07:22:41 +01:00
2020-12-13 16:51:09 -07:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-12-13 16:51:09 -07:00
2020-12-18 20:32:21 -07:00
2018-05-07 09:34:12 -04:00
2021-01-05 12:24:41 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2020-12-18 20:32:21 -07:00
2020-12-13 16:51:09 -07:00
2020-05-18 21:19:18 -04:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00
2020-07-09 06:02:44 +02:00
2020-12-13 16:51:09 -07:00
2020-12-18 20:32:21 -07:00
2021-01-05 12:24:41 -07:00
2020-12-13 08:00:25 -07:00
2020-12-13 08:00:25 -07:00
2020-12-18 20:32:21 -07:00
2020-12-13 08:00:25 -07:00
2020-12-18 20:32:21 -07:00
2020-12-18 20:32:21 -07:00
2020-12-13 16:51:09 -07:00
2020-04-20 06:52:28 +02:00
2020-12-13 16:51:08 -07:00
2020-05-18 21:19:23 -04:00
2020-12-18 20:32:21 -07:00
2020-11-28 08:30:41 +01:00
2020-12-13 08:00:25 -07:00
2020-12-13 08:00:25 -07:00
2018-05-07 09:34:12 -04:00
2020-12-18 20:32:21 -07:00
2020-12-18 20:32:21 -07:00
2020-12-18 20:32:21 -07:00
2020-12-13 08:00:25 -07:00
2020-12-18 20:32:21 -07:00
2020-12-13 16:51:09 -07:00
2020-01-27 07:23:26 +01:00
2020-12-13 08:00:25 -07:00
2020-12-13 08:00:25 -07:00
2020-12-13 16:51:09 -07:00
2020-12-18 20:32:21 -07:00
2018-05-07 09:34:12 -04:00
2021-01-05 12:24:41 -07:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-12-13 16:51:09 -07:00
2020-12-13 08:00:25 -07:00
2020-12-18 20:32:21 -07:00
2020-12-13 08:00:25 -07:00