driver core: Add device_link_remove function
authorpascal paillet <p.paillet@st.com>
Thu, 5 Jul 2018 14:25:56 +0000 (14:25 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Jul 2018 17:55:08 +0000 (18:55 +0100)
commitd8842211b6f63d3f069df973d137de0a85964965
tree9529118b161f6800a80aebbb26315f013997d84b
parent0380cf7dbaca75c524e34b30979f0806124fa8e6
driver core: Add device_link_remove function

Device_link_remove uses the same arguments than device_link_add. The Goal
is to avoid storing the link pointer.

Signed-off-by: pascal paillet <p.paillet@st.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/core.c
include/linux/device.h