commit | 1d0c48e66b3f1cf40660f69a87f55af3df0b2ae3 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Wed Jul 03 15:05:14 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jul 03 16:07:43 2013 -0700 |
tree | 0b3531877c44659181ae17098ee581f09833f40e | |
parent | 8318fde4ac78f6793b1cbaf57659902253a61617 [diff] |
lcd: add devm_lcd_device_{register,unregister}() These functions allow the driver core to automatically clean up any allocation made by lcd 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>