misc: ti-st: Adding IORESOURCE_IRQ_OPTIONAL case
[linux-2.6.git] / drivers / misc / therm_est.c
index 699c8ce..51bfb7f 100644 (file)
@@ -1046,6 +1046,11 @@ static int __devexit therm_est_remove(struct platform_device *pdev)
        return 0;
 }
 
+static void __devexit therm_est_shutdown(struct platform_device *pdev)
+{
+       therm_est_remove(pdev);
+}
+
 static struct platform_driver therm_est_driver = {
        .driver = {
                .owner = THIS_MODULE,
@@ -1053,6 +1058,7 @@ static struct platform_driver therm_est_driver = {
        },
        .probe  = therm_est_probe,
        .remove = __devexit_p(therm_est_remove),
+       .shutdown = __devexit_p(therm_est_shutdown),
 };
 
 static int __init therm_est_driver_init(void)