Loading drivers/char/hvc_iseries.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading drivers/char/hvc_vio.c +1 −1 Original line number Diff line number Diff line Loading @@ -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 drivers/char/hvsi.c +2 −2 Original line number Diff line number Diff line Loading @@ -1279,8 +1279,8 @@ static int __init hvsi_console_init(void) struct hvsi_struct *hp; const uint32_t *vtermno, *irq; vtermno = get_property(vty, "reg", NULL); irq = get_property(vty, "interrupts", NULL); vtermno = of_get_property(vty, "reg", NULL); irq = of_get_property(vty, "interrupts", NULL); if (!vtermno || !irq) continue; Loading drivers/macintosh/macio_asic.c +1 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,7 @@ static struct macio_dev * macio_add_one_device(struct macio_chip *chip, #endif MAX_NODE_NAME_SIZE, np->name); } else { reg = get_property(np, "reg", NULL); reg = of_get_property(np, "reg", NULL); sprintf(dev->ofdev.dev.bus_id, "%1d.%08x:%.*s", chip->lbus.index, reg ? *reg : 0, MAX_NODE_NAME_SIZE, np->name); Loading drivers/macintosh/macio_sysfs.c +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ compatible_show (struct device *dev, struct device_attribute *attr, char *buf) int length = 0; of = &to_macio_device (dev)->ofdev; compat = get_property(of->node, "compatible", &cplen); compat = of_get_property(of->node, "compatible", &cplen); if (!compat) { *buf = '\0'; return 0; Loading @@ -47,7 +47,7 @@ static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, int length; of = &to_macio_device (dev)->ofdev; compat = get_property(of->node, "compatible", &cplen); compat = of_get_property(of->node, "compatible", &cplen); if (!compat) compat = "", cplen = 1; length = sprintf (buf, "of:N%sT%s", of->node->name, of->node->type); buf += length; Loading Loading
drivers/char/hvc_iseries.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading
drivers/char/hvc_vio.c +1 −1 Original line number Diff line number Diff line Loading @@ -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
drivers/char/hvsi.c +2 −2 Original line number Diff line number Diff line Loading @@ -1279,8 +1279,8 @@ static int __init hvsi_console_init(void) struct hvsi_struct *hp; const uint32_t *vtermno, *irq; vtermno = get_property(vty, "reg", NULL); irq = get_property(vty, "interrupts", NULL); vtermno = of_get_property(vty, "reg", NULL); irq = of_get_property(vty, "interrupts", NULL); if (!vtermno || !irq) continue; Loading
drivers/macintosh/macio_asic.c +1 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,7 @@ static struct macio_dev * macio_add_one_device(struct macio_chip *chip, #endif MAX_NODE_NAME_SIZE, np->name); } else { reg = get_property(np, "reg", NULL); reg = of_get_property(np, "reg", NULL); sprintf(dev->ofdev.dev.bus_id, "%1d.%08x:%.*s", chip->lbus.index, reg ? *reg : 0, MAX_NODE_NAME_SIZE, np->name); Loading
drivers/macintosh/macio_sysfs.c +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ compatible_show (struct device *dev, struct device_attribute *attr, char *buf) int length = 0; of = &to_macio_device (dev)->ofdev; compat = get_property(of->node, "compatible", &cplen); compat = of_get_property(of->node, "compatible", &cplen); if (!compat) { *buf = '\0'; return 0; Loading @@ -47,7 +47,7 @@ static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, int length; of = &to_macio_device (dev)->ofdev; compat = get_property(of->node, "compatible", &cplen); compat = of_get_property(of->node, "compatible", &cplen); if (!compat) compat = "", cplen = 1; length = sprintf (buf, "of:N%sT%s", of->node->name, of->node->type); buf += length; Loading