Lines Matching defs:res
554 int res;
573 res = early_serial_setup(&uart_port);
574 if (res)
575 return res;
584 res = early_serial_setup(&uart_port);
585 if (res)
586 return res;
642 int res;
644 res = ar7_gpio_init();
645 if (res)
646 pr_warn("unable to register gpios: %d\n", res);
648 res = ar7_register_uarts();
649 if (res)
650 pr_err("unable to setup uart(s): %d\n", res);
652 res = platform_device_register(&physmap_flash);
653 if (res)
654 pr_warn("unable to register physmap-flash: %d\n", res);
660 res = platform_device_register(&vlynq_low);
661 if (res)
662 pr_warn("unable to register vlynq-low: %d\n", res);
666 res = platform_device_register(&vlynq_high);
667 if (res)
668 pr_warn("unable to register vlynq-high: %d\n", res);
672 res = fixed_phy_add(PHY_POLL, cpmac_high.id,
674 if (!res) {
677 res = platform_device_register(&cpmac_high);
678 if (res)
680 res);
682 pr_warn("unable to add cpmac-high phy: %d\n", res);
686 res = fixed_phy_add(PHY_POLL, cpmac_low.id, &fixed_phy_status);
687 if (!res) {
689 res = platform_device_register(&cpmac_low);
690 if (res)
691 pr_warn("unable to register cpmac-low: %d\n", res);
693 pr_warn("unable to add cpmac-low phy: %d\n", res);
696 res = platform_device_register(&ar7_gpio_leds);
697 if (res)
698 pr_warn("unable to register leds: %d\n", res);
700 res = platform_device_register(&ar7_udc);
701 if (res)
702 pr_warn("unable to register usb slave: %d\n", res);
715 res = platform_device_register(&ar7_wdt);
716 if (res)
717 pr_warn("unable to register watchdog: %d\n", res);