Masahiro Yamada 64526370d1 devres: fix devres_get()
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>
Cc: stable <stable@vger.kernel.org> # 2.6.21+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-05 15:11:48 -07:00
..
2014-07-04 18:05:05 +01:00
2015-06-25 17:00:40 -07:00
2015-05-20 00:15:09 -07:00
2015-08-05 15:11:48 -07:00
2014-12-14 16:10:09 -08:00
2014-09-01 13:48:59 +02:00