Re: [PATCH v3 3/3] i2c: xilinx: Use devm_* functions
From: Wolfram Sang
Date: Sun Oct 13 2013 - 14:19:12 EST
On Thu, Oct 10, 2013 at 12:39:38PM +0200, Michal Simek wrote:
> From: Kedareswara rao Appana <appana.durga.rao@xxxxxxxxxx>
>
> Simplified the probe and remove functions using devm_* functions
>
> Signed-off-by: Kedareswara rao Appana <appanad@xxxxxxxxxx>
> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
> ---
> Changes in v3:
> - Remove error message which is already shown by devm_ioremap_resource
> - Fix dev_get_platform recasting to simple (void *)
It IS a void pointer which you don't need to cast at all...
Attachment:
signature.asc
Description: Digital signature