diff options
| author | Julia Lawall <[email protected]> | 2012-03-23 15:02:01 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-03-23 16:58:33 -0700 |
| commit | 050ea48bbfc80b6aa81f8df0d9f25e6e47d96e98 (patch) | |
| tree | 8de9685ba5e2115ed6e14228d017c93351be2c2c /scripts | |
| parent | ce969228fdb54a7e3d7cc1ed27367fd4b9525d74 (diff) | |
drivers/video/backlight/adp5520_bl.c: 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]>
Acked-by: 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