mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[POWERPC] Rename get_property to of_get_property: drivers
These are all the remaining instances of get_property. Simple rename of get_property to of_get_property. Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
9f9a3b8a06
commit
40cd3a4564
33 changed files with 87 additions and 85 deletions
|
|
@ -288,7 +288,7 @@ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start,
|
|||
/* Match it to a port node */
|
||||
index = (ap == ap->host->ports[0]) ? 0 : 1;
|
||||
for (np = np->child; np != NULL; np = np->sibling) {
|
||||
const u32 *reg = get_property(np, "reg", NULL);
|
||||
const u32 *reg = of_get_property(np, "reg", NULL);
|
||||
if (!reg)
|
||||
continue;
|
||||
if (index == *reg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue