]> git.baikalelectronics.ru Git - kernel.git/commit
devres: Clarify documentation for devres_destroy()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 3 May 2012 17:15:12 +0000 (18:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:33:16 +0000 (16:33 -0700)
commitb83aa8779ffee535f17bea35098a29359ee81131
tree7c37c5e63eabacc6b863e671aacc57ed217159ce
parent56dd5b7a428e3582c09d8ab5e1a95e135ea88e00
devres: Clarify documentation for devres_destroy()

It's not massively obvious (at least to me) that removing and freeing a
resource does not involve calling the release function for the resource
but rather only removes the management of it. Make the documentation more
explicit.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devres.c