commit | d1bea50288c7a22e68c01bb11cdb2a8db7d2fa39 | [log] [tgz] |
---|---|---|
author | Damien Cassou <damien.cassou@lifl.fr> | Tue Jul 31 15:54:18 2012 +0200 |
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | Thu Aug 23 12:59:02 2012 +0000 |
tree | 071075e9f2d6f038b81642e460d3da137ffe3200 | |
parent | be8678149701a42587741e2d391d8fa8830e9d3b [diff] |
drivers/video/cobalt_lcdfb.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: Damien Cassou <damien.cassou@lifl.fr> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>