Re: [PATCH v2 4/5] media: davinci: vpif_capture: Convert to devm_* api

2013-05-25 Thread Laurent Pinchart
Hi Prabhakar, Thank you for the patch. On Saturday 25 May 2013 22:06:35 Prabhakar Lad wrote: > From: Lad, Prabhakar > > use devm_request_irq() instead of request_irq(). > This ensures more consistent error values and simplifies error paths. > > use module_platform_driver to simplify the code.

[PATCH v2 4/5] media: davinci: vpif_capture: Convert to devm_* api

2013-05-25 Thread Prabhakar Lad
From: Lad, Prabhakar use devm_request_irq() instead of request_irq(). This ensures more consistent error values and simplifies error paths. use module_platform_driver to simplify the code. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 73 +