Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d05c7a80 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras
Browse files

[POWERPC] Rename get_property to of_get_property: drivers

parent c4f55b39
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -297,7 +297,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)
+1 −1
Original line number Diff line number Diff line
@@ -613,7 +613,7 @@ static int __devinit agp_uninorth_probe(struct pci_dev *pdev,
		uninorth_node = of_find_node_by_name(NULL, "u3");
	}
	if (uninorth_node) {
		const int *revprop = get_property(uninorth_node,
		const int *revprop = of_get_property(uninorth_node,
				"device-rev", NULL);
		if (revprop != NULL)
			uninorth_rev = *revprop & 0x3f;
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ static int __init briq_panel_init(void)
	const char *machine;
	int i;

	machine = get_property(root, "model", NULL);
	machine = of_get_property(root, "model", NULL);
	if (!machine || strncmp(machine, "TotalImpact,BRIQ-1", 18) != 0)
		return -ENODEV;

+1 −1
Original line number Diff line number Diff line
@@ -575,7 +575,7 @@ static int hvc_find_vtys(void)
				(num_found >= VTTY_PORTS))
			break;

		vtermno = get_property(vty, "reg", NULL);
		vtermno = of_get_property(vty, "reg", NULL);
		if (!vtermno)
			continue;

+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ static int hvc_find_vtys(void)
		if (num_found >= MAX_NR_HVC_CONSOLES)
			break;

		vtermno = get_property(vty, "reg", NULL);
		vtermno = of_get_property(vty, "reg", NULL);
		if (!vtermno)
			continue;

Loading