diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-07-15 10:29:00 +0900 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-09-28 10:21:36 +0100 |
| commit | 6e97c4481ad68ad14f40f2089cb75d3f80cbe139 (patch) | |
| tree | f161fbffe6d4c1dcb597285cc53c5ab3437428f2 /include/linux | |
| parent | 284539f33977c040e2fe98141cac37fbf9995ecc (diff) | |
devres: fix devres_get()
commit 64526370d11ce8868ca495723d595b61e8697fbf upstream.
Currently, devres_get() passes devres_free() the pointer to devres,
but devres_free() should be given with the pointer to resource data.
Fixes: 9ac7849e35f7 ("devres: device resource management")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
