Lines Matching refs:res

569 	int res;  in ar7_register_uarts()  local
587 res = early_serial_setup(&uart_port); in ar7_register_uarts()
588 if (res) in ar7_register_uarts()
589 return res; in ar7_register_uarts()
598 res = early_serial_setup(&uart_port); in ar7_register_uarts()
599 if (res) in ar7_register_uarts()
600 return res; in ar7_register_uarts()
656 int res; in ar7_register_devices() local
658 res = ar7_register_uarts(); in ar7_register_devices()
659 if (res) in ar7_register_devices()
660 pr_err("unable to setup uart(s): %d\n", res); in ar7_register_devices()
662 res = platform_device_register(&physmap_flash); in ar7_register_devices()
663 if (res) in ar7_register_devices()
664 pr_warn("unable to register physmap-flash: %d\n", res); in ar7_register_devices()
670 res = platform_device_register(&vlynq_low); in ar7_register_devices()
671 if (res) in ar7_register_devices()
672 pr_warn("unable to register vlynq-low: %d\n", res); in ar7_register_devices()
676 res = platform_device_register(&vlynq_high); in ar7_register_devices()
677 if (res) in ar7_register_devices()
678 pr_warn("unable to register vlynq-high: %d\n", res); in ar7_register_devices()
682 res = fixed_phy_add(PHY_POLL, cpmac_high.id, &fixed_phy_status); in ar7_register_devices()
683 if (!res) { in ar7_register_devices()
686 res = platform_device_register(&cpmac_high); in ar7_register_devices()
687 if (res) in ar7_register_devices()
689 res); in ar7_register_devices()
691 pr_warn("unable to add cpmac-high phy: %d\n", res); in ar7_register_devices()
695 res = fixed_phy_add(PHY_POLL, cpmac_low.id, &fixed_phy_status); in ar7_register_devices()
696 if (!res) { in ar7_register_devices()
698 res = platform_device_register(&cpmac_low); in ar7_register_devices()
699 if (res) in ar7_register_devices()
700 pr_warn("unable to register cpmac-low: %d\n", res); in ar7_register_devices()
702 pr_warn("unable to add cpmac-low phy: %d\n", res); in ar7_register_devices()
705 res = platform_device_register(&ar7_gpio_leds); in ar7_register_devices()
706 if (res) in ar7_register_devices()
707 pr_warn("unable to register leds: %d\n", res); in ar7_register_devices()
709 res = platform_device_register(&ar7_udc); in ar7_register_devices()
710 if (res) in ar7_register_devices()
711 pr_warn("unable to register usb slave: %d\n", res); in ar7_register_devices()
724 res = platform_device_register(&ar7_wdt); in ar7_register_devices()
725 if (res) in ar7_register_devices()
726 pr_warn("unable to register watchdog: %d\n", res); in ar7_register_devices()