Show
Ignore:
Timestamp:
02/20/04 22:32:18 (10 years ago)
Author:
khali
Message:

Fix i2c bus not being unregistered on module unload.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/busses/i2c-amd756.c

    r2294 r2299  
    394394 
    395395 
    396 static void __devexit amd756_remove(struct pci_dev *dev) 
    397 { 
    398         i2c_del_adapter(&amd756_adapter); 
    399 } 
    400  
    401396static int __init i2c_amd756_init(void) 
    402397{ 
     
    418413static void __exit i2c_amd756_exit(void) 
    419414{ 
     415        i2c_del_adapter(&amd756_adapter); 
    420416        release_region(amd756_ioport, SMB_IOSIZE); 
    421417}