# Re: \[PATCH\] video: mmp: drop needless devm cleanup

- From: Tomi Valkeinen \<hidden\>
- Date: 2013-09-26 08:43:04 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/09/8660421
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/09/8660173/t.md

```text
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



```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2013/09/8660421/attachment/0) (application/pgp-signature, 901 bytes)
