]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: Clarify which counterparts to use to device_add()
authorBorislav Petkov <bp@suse.de>
Thu, 18 Apr 2019 17:41:56 +0000 (19:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 17:34:54 +0000 (19:34 +0200)
commit04bf245069da50ded969d5994642434aa5468c2a
tree56630f15d0ec8ae72767bb465102aa323b9eeb53
parentf942ad6a9994001453129e136d7112c733f2588a
driver core: Clarify which counterparts to use to device_add()

It is not absolutely clear from the docs how the cleanup path after
device_add() should look like so spell it out explicitly.

No functional changes, just documentation.

Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c