kernel/arch/arm/mach-omap1/timer.c
.. .. @@ -6,7 +6,7 @@ 6 6 * device model. It also has a low level function to change the timer 7 7 * input clock source. 8 8 * 9 - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/9 + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/10 10 * Tarun Kanti DebBarma <tarun.kanti@ti.com> 11 11 * Thara Gopinath <thara@ti.com> 12 12 * .. .. @@ -165,7 +165,7 @@ 165 165 kfree(pdata); 166 166 167 167 err_free_pdev: 168 - platform_device_unregister(pdev);168 + platform_device_put(pdev);169 169 170 170 return ret; 171 171 }