Skip to content

Commit

Permalink
bus: fsl-mc: remove explicit device_link_del
Browse files Browse the repository at this point in the history
Starting with commit 72175d4 ("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_del appearances from the fsl-mc bus.

Signed-off-by: Ioana Ciornei <[email protected]>
Acked-By: Laurentiu Tudor <[email protected]>
Signed-off-by: Li Yang <[email protected]>
  • Loading branch information
IoanaCiornei authored and Li Yang committed Aug 16, 2019
1 parent c49a3a9 commit eadf0b1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/bus/fsl-mc/fsl-mc-allocator.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ void fsl_mc_object_free(struct fsl_mc_device *mc_adev)

fsl_mc_resource_free(resource);

device_link_del(mc_adev->consumer_link);
mc_adev->consumer_link = NULL;
}
EXPORT_SYMBOL_GPL(fsl_mc_object_free);
Expand Down
1 change: 0 additions & 1 deletion drivers/bus/fsl-mc/mc-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ void fsl_mc_portal_free(struct fsl_mc_io *mc_io)
fsl_destroy_mc_io(mc_io);
fsl_mc_resource_free(resource);

device_link_del(dpmcp_dev->consumer_link);
dpmcp_dev->consumer_link = NULL;
}
EXPORT_SYMBOL_GPL(fsl_mc_portal_free);
Expand Down

0 comments on commit eadf0b1

Please sign in to comment.