Revert "[POWERPC] Rename get_property to of_get_property: drivers"
This reverts commit d05c7a80cf
,
which included changes which should go via other subsystem
maintainers.
This commit is contained in:
@@ -118,7 +118,7 @@ static int __init via_pmu_led_init(void)
|
||||
dt = of_find_node_by_path("/");
|
||||
if (dt == NULL)
|
||||
return -ENODEV;
|
||||
model = of_get_property(dt, "model", NULL);
|
||||
model = get_property(dt, "model", NULL);
|
||||
if (model == NULL)
|
||||
return -ENODEV;
|
||||
if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 &&
|
||||
|
Reference in New Issue
Block a user