summaryrefslogtreecommitdiffstats
path: root/drivers/soc/fsl
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2019-07-03 16:56:39 +0200
committerLi Yang <leoyang.li@nxp.com>2019-08-16 01:20:20 +0200
commitc49a3a9cf26709d00211abbf79c2fd694ea4e86d (patch)
tree94c2a25fd36491da3c35d6a8e1392d8955a6e5e0 /drivers/soc/fsl
parentsoc: fsl: guts: Add definition for LS1028A (diff)
downloadlinux-c49a3a9cf26709d00211abbf79c2fd694ea4e86d.tar.xz
linux-c49a3a9cf26709d00211abbf79c2fd694ea4e86d.zip
soc: fsl: dpio: remove explicit device_link_remove
Starting with commit 72175d4ea4c4 ("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: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/fsl')
-rw-r--r--drivers/soc/fsl/dpio/dpio-service.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/soc/fsl/dpio/dpio-service.c b/drivers/soc/fsl/dpio/dpio-service.c
index b9539ef2c3cd..518a8e081b49 100644
--- a/drivers/soc/fsl/dpio/dpio-service.c
+++ b/drivers/soc/fsl/dpio/dpio-service.c
@@ -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);