[PATCH] fbdev: goldfishfb: use devres api

2015-02-20 Thread Prabhakar Lad
From: "Lad, Prabhakar" this patch does the following: a> uses devm_kzalloc() instead of kzalloc and cleanup the error path b> uses devm_ioremap() instead of ioremap and cleanup the error path c> uses devm_request_irq() instead of request_irq and cleanup the error path Signed-off-by: Lad,

[PATCH] fbdev: goldfishfb: use devres api

2015-02-20 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch does the following: a uses devm_kzalloc() instead of kzalloc and cleanup the error path b uses devm_ioremap() instead of ioremap and cleanup the error path c uses devm_request_irq() instead of request_irq and cleanup the error path