Lines Matching refs:result
36 * Failure to do so would result in system reboot.
66 int result;
69 if ((result = pci_enable_device(pdev))) {
71 return result;
73 if ((result = pci_request_regions(pdev, DRIVER_NAME))) {
83 result = -ENOMEM;
112 result = -ENODEV;
116 result = request_irq(sp->irq, ibmasm_interrupt_handler, IRQF_SHARED, sp->devname, (void*)sp);
117 if (result) {
124 result = ibmasm_init_remote_input_dev(sp);
125 if (result) {
130 result = ibmasm_send_driver_vpd(sp);
131 if (result) {
135 result = ibmasm_send_os_state(sp, SYSTEM_STATE_OS_UP);
136 if (result) {
164 return result;
215 int result;
217 result = ibmasmfs_register();
218 if (result) {
220 return result;
222 result = pci_register_driver(&ibmasm_driver);
223 if (result) {
225 return result;