Re: [PATCH] net: mdio-sun4i: Convert to devm_* api

From: David Miller
Date: Thu Aug 29 2013 - 14:55:25 EST


From: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Aug 2013 11:35:08 +0200

> Hi Jisheng,
>
> On Mon, Aug 26, 2013 at 09:11:57PM +0800, Jisheng Zhang wrote:
>> Use devm_ioremap_resource instead of of_iomap() and devm_kzalloc()
>> instead of kmalloc() to make cleanup paths simpler. This patch also
>> fixes the resource leak caused by missing corresponding iounamp()
>> of the of_iomap().
>>
>> Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxxx>
>
> It looks fine for me.
> Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>

Applied to net-next, thanks.
--
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/