Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux
[pandora-kernel.git] / drivers / base / platform.c
index 6eaa7ab..1578987 100644 (file)
@@ -29,9 +29,6 @@
 /* For automatically allocated device IDs */
 static DEFINE_IDA(platform_devid_ida);
 
-#define to_platform_driver(drv)        (container_of((drv), struct platform_driver, \
-                                driver))
-
 struct device platform_bus = {
        .init_name      = "platform",
 };