Tag: 9e340fdc5af6ae3041d73319bbd1438c7d6d566c

drivers/video/wm8505fb.c: use devm_ functions

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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. The patch makes some other cleanups. First, the original code used devm_kzalloc, …

Continue reading