Lines 1566-1573
Link Here
|
1566 |
if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]); |
1566 |
if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]); |
1567 |
#endif |
1567 |
#endif |
1568 |
|
1568 |
|
1569 |
if (unregister_chrdev(nv_major, "nvidia") < 0) |
1569 |
unregister_chrdev(nv_major, "nvidia"); |
1570 |
nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); |
|
|
1571 |
|
1570 |
|
1572 |
for (i = 0; i < num_nv_devices; i++) |
1571 |
for (i = 0; i < num_nv_devices; i++) |
1573 |
{ |
1572 |
{ |
Lines 1598-1605
Link Here
|
1598 |
|
1597 |
|
1599 |
nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n"); |
1598 |
nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n"); |
1600 |
|
1599 |
|
1601 |
if (unregister_chrdev(nv_major, "nvidia") < 0) |
1600 |
unregister_chrdev(nv_major, "nvidia"); |
1602 |
nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); |
|
|
1603 |
|
1601 |
|
1604 |
for (i = 0; i < num_nv_devices; i++) |
1602 |
for (i = 0; i < num_nv_devices; i++) |
1605 |
{ |
1603 |
{ |