Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -305,8 +305,6 @@ void dpaa2_io_service_deregister(struct dpaa2_io *service,
	list_del(&ctx->node);
	spin_unlock_irqrestore(&d->lock_notifications, irqflags);

	if (dev)
		device_link_remove(dev, d->dev);
}
EXPORT_SYMBOL_GPL(dpaa2_io_service_deregister);