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

- From: Tomi Valkeinen \<hidden\>
- Date: 2013-09-26 08:43:04 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130926/a1a59c36/attachment.sig>
```
