diff options
| author | Jingoo Han <jg1.han@samsung.com> | 2013-07-03 15:05:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:43 -0700 |
| commit | 8318fde4ac78f6793b1cbaf57659902253a61617 (patch) | |
| tree | 7b7a30f1bdcd75972b8efba43fece1d48f19d611 /scripts/checkpatch.pl | |
| parent | 9ed3936fd7e918bfea565f51aa4379967009d7dd (diff) | |
| download | cachepc-linux-8318fde4ac78f6793b1cbaf57659902253a61617.tar.gz cachepc-linux-8318fde4ac78f6793b1cbaf57659902253a61617.zip | |
backlight: add devm_backlight_device_{register,unregister}()
These functions allow the driver core to automatically clean up any
allocation made by backlight drivers. Thus it simplifies the error
paths.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
