Re: [PATCH] hwrng: use platform_{get,set}_drvdata()

From: Jingoo Han
Date: Tue May 28 2013 - 19:54:42 EST


On Tuesday, May 28, 2013 6:16 PM, Herbert Xu wrote:
> On Thu, May 23, 2013 at 07:27:26PM +0900, Jingoo Han wrote:
> > Use the wrapper functions for getting and setting the driver data using
> > platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
> > so we can directly pass a struct platform_device.
> >
> > Also, 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: Jingoo Han <jg1.han@xxxxxxxxxxx>
>
> Sorry but this patch doesn't apply against the current cryptodev
> tree. If you are basing your patch on another tree, please submit
> the patch there.

Hi Herbert Xu,

I will make the patch based on your "cryptodev" tree,
and will send it, soon. :)

Best regards,
Jingoo Han

>
> 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/