Re: [PATCH] video: mmp: drop needless devm cleanup
From: Tomi Valkeinen <hidden>
Date: 2013-09-26 08:43:04
Also in:
linux-arm-kernel
Attachments
- signature.asc [application/pgp-signature] 901 bytes
From: Tomi Valkeinen <hidden>
Date: 2013-09-26 08:43:04
Also in:
linux-arm-kernel
On 23/09/13 19:13, Uwe Kleine-König wrote:
The nice thing about devm_* is that the driver doesn't need to free the resources but the driver core takes care about that. This also simplifies the error path quite a bit and removes the wrong check for a clock pointer being NULL. Signed-off-by: Uwe Kleine-König <redacted> --- drivers/video/mmp/hw/mmp_ctrl.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-)
Thanks, queuing for 3.12 fixes. Tomi