dm: core: Drop device_bind_offset()
This function is not needed since the standard device_bind() can be used instead. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -232,14 +232,6 @@ int device_bind_with_driver_data(struct udevice *parent,
|
||||
0, devp);
|
||||
}
|
||||
|
||||
int device_bind_offset(struct udevice *parent, const struct driver *drv,
|
||||
const char *name, void *platdata, int of_offset,
|
||||
struct udevice **devp)
|
||||
{
|
||||
return device_bind_common(parent, drv, name, platdata, 0,
|
||||
offset_to_ofnode(of_offset), 0, devp);
|
||||
}
|
||||
|
||||
int device_bind(struct udevice *parent, const struct driver *drv,
|
||||
const char *name, void *platdata, ofnode node,
|
||||
struct udevice **devp)
|
||||
|
||||
Reference in New Issue
Block a user