diff options
| author | Julia Lawall <[email protected]> | 2012-03-23 15:02:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-03-23 16:58:33 -0700 |
| commit | ce969228fdb54a7e3d7cc1ed27367fd4b9525d74 (patch) | |
| tree | 9850c7cc96d582302769c442e00142ac30a7bbc3 /scripts | |
| parent | 1107d40a50956146d1272f5cffcdf1d83f7e703e (diff) | |
drivers/video/backlight: use devm_ functions
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.
Signed-off-by: Julia Lawall <[email protected]>
Cc: Dimitris Papastamos <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Michael Hennerich <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions