|
|
if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]); | if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]); |
#endif | #endif |
| |
if (unregister_chrdev(nv_major, "nvidia") < 0) |
unregister_chrdev(nv_major, "nvidia"); |
nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); |
|
| |
for (i = 0; i < num_nv_devices; i++) | for (i = 0; i < num_nv_devices; i++) |
{ | { |
|
|
| |
nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n"); | nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n"); |
| |
if (unregister_chrdev(nv_major, "nvidia") < 0) |
unregister_chrdev(nv_major, "nvidia"); |
nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n"); |
|
| |
for (i = 0; i < num_nv_devices; i++) | for (i = 0; i < num_nv_devices; i++) |
{ | { |