of: remove CONFIG_OF_DEVICE
authorRob Herring <rob.herring@calxeda.com>
Fri, 19 Apr 2013 22:32:52 +0000 (17:32 -0500)
committerGrant Likely <grant.likely@linaro.org>
Wed, 12 Jun 2013 11:37:40 +0000 (12:37 +0100)
commitba166e900b502b74b9425881caa94f94891b0a1f
tree6576c70c8a97bb21876320fc264c7ed8d9e7238d
parent8973ba8b325f8c084815a3021c427c6fa3017a5d
of: remove CONFIG_OF_DEVICE

CONFIG_OF_DEVICE is always selected when CONFIG_OF is enabled, so remove
it and simplify of_platform.h and of_device.h headers. This also fixes
!OF compiles using of_platform_populate.

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/of/Kconfig
drivers/of/Makefile
include/linux/of_device.h