]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/mbx/mbxfb.c: use devm_ functions
authorDamien Cassou <damien.cassou@lifl.fr>
Tue, 31 Jul 2012 16:39:18 +0000 (18:39 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 13:01:04 +0000 (13:01 +0000)
commitf677d18dac82ea9b2c18f27a61e7aa21357ad70b
treee4a54b6195a2edb4a2e93a21b90a4457d211d4a0
parentab93927752d43bdee9c7cead328422d0df27bcff
drivers/video/mbx/mbxfb.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/mbx/mbxfb.c