diff options
-rw-r--r-- | drivers/platform/chrome/chromeos_laptop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c index 446ef0f9c256..7f3aad0e115c 100644 --- a/drivers/platform/chrome/chromeos_laptop.c +++ b/drivers/platform/chrome/chromeos_laptop.c | |||
@@ -511,6 +511,9 @@ static void __exit chromeos_laptop_exit(void) | |||
511 | i2c_unregister_device(tp); | 511 | i2c_unregister_device(tp); |
512 | if (ts) | 512 | if (ts) |
513 | i2c_unregister_device(ts); | 513 | i2c_unregister_device(ts); |
514 | |||
515 | platform_device_unregister(cros_platform_device); | ||
516 | platform_driver_unregister(&cros_platform_driver); | ||
514 | } | 517 | } |
515 | 518 | ||
516 | module_init(chromeos_laptop_init); | 519 | module_init(chromeos_laptop_init); |