of: Add of_device_enable_and_register functions
Function to enable and register a disabled device.
The devices can be registered using the
device node with of_device_enable_and_register() or
with the device node name/path by using the
of_device_enable_and_register_by_name() function.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1b5061b commit 3249a71b269c3c929912195c81486caa8b6a1a35
@Teresa Gámez Teresa Gámez authored on 3 Nov 2014
Sascha Hauer committed on 3 Nov 2014
Showing 2 changed files
View
drivers/of/platform.c
View
include/of.h