]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
driver core: Add a wrapper around __device_release_driver()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 10 Oct 2016 12:37:56 +0000 (14:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 06:42:26 +0000 (02:42 -0400)
commit4bdb35506b89cbbd150c1baa284e7c191698241f
tree99969a36f3f967efa5d062252a464300c0f17328
parent7f847dd31736f1284538e54f46cf10e63929eb7f
driver core: Add a wrapper around __device_release_driver()

Add an internal wrapper around __device_release_driver() that will
acquire device locks and do the necessary checks before calling it.

The next patch will make use of it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c