module.c (80c8ae289266529445fad030fabf5fcf01ccda0d) | module.c (486a5c28c2e7d6a80c393ac7d612b77d80447b84) |
---|---|
1 2/* 3 * IBM ASM Service Processor Device Driver 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 149 unchanged lines hidden (view full) --- 158error_kmalloc: 159 pci_release_regions(pdev); 160error_resources: 161 pci_disable_device(pdev); 162 163 return result; 164} 165 | 1 2/* 3 * IBM ASM Service Processor Device Driver 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 149 unchanged lines hidden (view full) --- 158error_kmalloc: 159 pci_release_regions(pdev); 160error_resources: 161 pci_disable_device(pdev); 162 163 return result; 164} 165 |
166static void __devexit ibmasm_remove_one(struct pci_dev *pdev) | 166static void ibmasm_remove_one(struct pci_dev *pdev) |
167{ 168 struct service_processor *sp = (struct service_processor *)pci_get_drvdata(pdev); 169 170 dbg("Unregistering UART\n"); 171 ibmasm_unregister_uart(sp); 172 dbg("Sending OS down message\n"); 173 if (ibmasm_send_os_state(sp, SYSTEM_STATE_OS_DOWN)) 174 err("failed to get repsonse to 'Send OS State' command\n"); --- 63 unchanged lines hidden --- | 167{ 168 struct service_processor *sp = (struct service_processor *)pci_get_drvdata(pdev); 169 170 dbg("Unregistering UART\n"); 171 ibmasm_unregister_uart(sp); 172 dbg("Sending OS down message\n"); 173 if (ibmasm_send_os_state(sp, SYSTEM_STATE_OS_DOWN)) 174 err("failed to get repsonse to 'Send OS State' command\n"); --- 63 unchanged lines hidden --- |