Re: [PATCH 3/3] video: xilinxfb: Simplify error path

From: Jingoo Han
Date: Thu Sep 12 2013 - 06:46:57 EST


On Thursday, September 12, 2013 2:55 PM, Michal Simek wrote:
>
> devm_iounmap is called automatically that's why remove it from the code
> dev_set_drvdata(dev, NULL) is called by generic code
> after device_release or on probe failure.
>
> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>

Reviewed-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

> ---
> drivers/video/xilinxfb.c | 28 ++++++----------------------
> 1 file changed, 6 insertions(+), 22 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/