[PATCH 3.12 27/84] devres: fix devres_get()

2015-10-02 Thread Jiri Slaby
From: Masahiro Yamada 3.12-stable review patch. If anyone has any objections, please let me know. === commit 64526370d11ce8868ca495723d595b61e8697fbf upstream. Currently, devres_get() passes devres_free() the pointer to devres, but devres_free() should be given with the pointer

[PATCH 3.12 27/84] devres: fix devres_get()

2015-10-02 Thread Jiri Slaby
From: Masahiro Yamada 3.12-stable review patch. If anyone has any objections, please let me know. === commit 64526370d11ce8868ca495723d595b61e8697fbf upstream. Currently, devres_get() passes devres_free() the pointer to devres, but devres_free()