# Re: \[PATCH\] video: Introduce the use of the managed version of kzalloc

- From: Tomi Valkeinen \<hidden\>
- Date: 2014-06-23 11:10:32 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2014/06/4278952
- Thread: https://ratatoskr.run/linux-fbdev/2014/05/4259776/t.md

```text
On 25/05/14 13:40, Himangi Saraogi wrote:
> This patch moves data allocated using kzalloc to managed data allocated
> using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
> functions. Also, linux/device.h is added to make sure the devm_*()
> routine declarations are unambiguously available. The function
> mddi_dummy_remove is removed as it is no longer required after
> removing the kfree. The variable ret is also done away with.

Thanks, queued for 3.17.

 Tomi


```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2014/06/4278952/attachment/0) (application/pgp-signature, 819 bytes)
