]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/epson1355fb.c: use devm_ functions
authorDamien Cassou <damien.cassou@lifl.fr>
Fri, 3 Aug 2012 15:40:10 +0000 (17:40 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 13:13:27 +0000 (13:13 +0000)
commit1bf02987505ff4b2ad7b98035f3eaed235352760
treedbe409703ad484a62bf05aeb6cc482bb2e022133
parente3b8ee3e80896fb42f51176a1a181276394be6fe
drivers/video/epson1355fb.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/epson1355fb.c