Re: [PATCH v2] Driver core: convert platform_{get,set}_drvdata tostatic inline functions

From: Greg KH
Date: Wed Feb 16 2011 - 17:58:07 EST


On Wed, Feb 16, 2011 at 11:23:27PM +0100, Marc Kleine-Budde wrote:
> This patch converts the macros for platform_{get,set}_drvdata to
> static inline functions to add typechecking.
>
> Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>

Much better, I'll add this to my queue.

thanks,

greg k-h
--
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/