dm: Remove uses of device_bind_offset()

This function is not needed since the standard device_bind() can be used
instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2020-11-28 17:50:03 -07:00
parent 0de1b07406
commit a2703ce10c
20 changed files with 46 additions and 49 deletions

View file

@ -37,8 +37,8 @@ struct udevice;
* @return 0 if OK, -ve on error
*/
int device_bind_offset(struct udevice *parent, const struct driver *drv,
const char *name, void *platdata, int of_offset,
struct udevice **devp);
const char *name, void *platdata, int of_offset,
struct udevice **devp);
int device_bind(struct udevice *parent, const struct driver *drv,
const char *name, void *platdata, ofnode node,