Driver core: convert platform_{get,set}_drvdata to static inline functions
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 16 Feb 2011 22:23:27 +0000 (23:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 16:15:51 +0000 (08:15 -0800)
commit71d642908d4e8e7a2a4a6e0490432e719ff466d5
treec44e0c0fc5f4110f707b8f2fab243e28d19636a7
parent9194a595f756d2e428ddb8e74eb4932d39963aad
Driver core: convert platform_{get,set}_drvdata to static inline functions

This patch converts the macros for platform_{get,set}_drvdata to
static inline functions to add typechecking.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/platform_device.h