driver core: move to_platform_driver to platform_device.h
authorRob Herring <rob.herring@calxeda.com>
Sun, 21 Apr 2013 21:38:31 +0000 (16:38 -0500)
committerGrant Likely <grant.likely@linaro.org>
Wed, 12 Jun 2013 11:37:16 +0000 (12:37 +0100)
commit10dbc5e39a60944536f3ca59bc9a8a8896355714
tree586d7c920d11ef3084c850792f7cec8d6952f78d
parent8d561b60a9174defff2e48e109f68a5f2ae7dd9c
driver core: move to_platform_driver to platform_device.h

In converting the last remaining of_platform_driver (ibmebus) to a regular
platform driver, to_platform_driver is needed to replace
to_of_platform_driver.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/base/platform.c
include/linux/platform_device.h