From e80be7493412e0facbbf81f709dc44740e975dea Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Nov 2020 17:50:06 -0700 Subject: 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 --- drivers/core/device.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'drivers/core/device.c') diff --git a/drivers/core/device.c b/drivers/core/device.c index c8a219d77b3..79afaf06290 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -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) -- cgit v1.2.3