Commit c49a3a9c authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Li Yang

soc: fsl: dpio: remove explicit device_link_remove

Starting with commit 72175d4e ("driver core: Make driver core
own stateful device links") stateful device links are owned by the
driver core and should not be explicitly removed on device unbind.
Delete all device_link_remove appearances from the dpio driver.
Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
parent 80f97619
...@@ -305,8 +305,6 @@ void dpaa2_io_service_deregister(struct dpaa2_io *service, ...@@ -305,8 +305,6 @@ void dpaa2_io_service_deregister(struct dpaa2_io *service,
list_del(&ctx->node); list_del(&ctx->node);
spin_unlock_irqrestore(&d->lock_notifications, irqflags); spin_unlock_irqrestore(&d->lock_notifications, irqflags);
if (dev)
device_link_remove(dev, d->dev);
} }
EXPORT_SYMBOL_GPL(dpaa2_io_service_deregister); EXPORT_SYMBOL_GPL(dpaa2_io_service_deregister);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment