Merge tag 'for-v3.7' of git://git.infradead.org/battery-2.6
[platform/kernel/linux-arm64.git] / drivers / power / ab8500_btemp.c
index 2b76943..e3b6395 100644 (file)
@@ -1019,7 +1019,7 @@ static int __devinit ab8500_btemp_probe(struct platform_device *pdev)
        }
 
        /* Init work for measuring temperature periodically */
-       INIT_DELAYED_WORK_DEFERRABLE(&di->btemp_periodic_work,
+       INIT_DEFERRABLE_WORK(&di->btemp_periodic_work,
                ab8500_btemp_periodic_work);
 
        /* Identify the battery */