]> git.karo-electronics.de Git - linux-beck.git/commit
drivers/video/jz4740_fb.c: use devm_ functions
authorDamien Cassou <damien.cassou@lifl.fr>
Fri, 3 Aug 2012 15:40:11 +0000 (17:40 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 13:14:15 +0000 (13:14 +0000)
commitb2ca7f4d740dc65322386b78cd5bdbceaa524fe0
treefea18848a080e9aaead2ed8b8d99579c1b67ed28
parente07d232335ed2b65b50b51d1564b418801901d7c
drivers/video/jz4740_fb.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>
drivers/video/jz4740_fb.c