diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-02-18 19:19:29 +0100 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-02-24 00:49:59 +0000 |
commit | 640ba2444fa95261f23a2b86e69aabe723332bed (patch) | |
tree | cf82680aca06941eaa2ec121879becfd278b722b /.mailmap | |
parent | 8aaaaf3cbfb96a9f74c5775c71067a9290244ec7 (diff) | |
download | op-kernel-dev-640ba2444fa95261f23a2b86e69aabe723332bed.zip op-kernel-dev-640ba2444fa95261f23a2b86e69aabe723332bed.tar.gz |
drivers/video/pxa168fb.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.
By using devm_ioremap, it also removes a potential memory leak, because
there was no call to iounmap in the probe function.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions