# Re: \[PATCH 1/4\] drivers/video/backlight/wm831x\_bl.c: use devm\_ functions

- From: Mark Brown \<hidden\>
- Date: 2012-01-21 12:33:53 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2012/01/3811933
- Thread: https://ratatoskr.run/kernel-janitors/2012/01/3811786/t.md

```text
On Fri, Jan 20, 2012 at 10:25:29PM +0100, Julia Lawall wrote:
> From: Julia Lawall <redacted>
> 
> The various devm_ functions allocate memory that is released when a driver
> detaches.  This patch uses these functions for data that is allocated in
> the probe function of a platform device and is only freed in the remove
> function.

Acked-by: Mark Brown <redacted>
```
