Re: [PATCH 7/8] net: davinci_mdio: remove unnecessary dev_set_drvdata()

From: Prabhakar Lad
Date: Thu Aug 22 2013 - 01:54:12 EST


Hi Libo,

Thanks for the patch.

On Wed, Aug 21, 2013 at 12:32 PM, Libo Chen <libo.chen@xxxxxxxxxx> wrote:
> Unnecessary dev_set_drvdata() is removed, because the driver core
> clears the driver data to NULL after device_release or on probe failure.
>
> Signed-off-by: Libo Chen <libo.chen@xxxxxxxxxx>

Acked-by: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>

Regards,
--Prabhakar Lad
--
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/