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 | 1107d40a50956146d1272f5cffcdf1d83f7e703e (patch) | |
| tree | 54a43a24c7d6d53db2146183a821667fe0b40895 /scripts | |
| parent | 462dd83833065a6b3add3f102f4fe69efa1422e9 (diff) | |
drivers/video/backlight/wm831x_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]>
Acked-by: 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