diff options
Diffstat (limited to 'drivers/clocksource/timer-tegra186.c')
| -rw-r--r-- | drivers/clocksource/timer-tegra186.c | 7 | 
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/clocksource/timer-tegra186.c b/drivers/clocksource/timer-tegra186.c index ea742889ee06..83d08591ea0a 100644 --- a/drivers/clocksource/timer-tegra186.c +++ b/drivers/clocksource/timer-tegra186.c @@ -447,15 +447,13 @@ unregister_tsc:  	return err;  } -static int tegra186_timer_remove(struct platform_device *pdev) +static void tegra186_timer_remove(struct platform_device *pdev)  {  	struct tegra186_timer *tegra = platform_get_drvdata(pdev);  	clocksource_unregister(&tegra->usec);  	clocksource_unregister(&tegra->osc);  	clocksource_unregister(&tegra->tsc); - -	return 0;  }  static int __maybe_unused tegra186_timer_suspend(struct device *dev) @@ -505,10 +503,9 @@ static struct platform_driver tegra186_wdt_driver = {  		.of_match_table = tegra186_timer_of_match,  	},  	.probe = tegra186_timer_probe, -	.remove = tegra186_timer_remove, +	.remove_new = tegra186_timer_remove,  };  module_platform_driver(tegra186_wdt_driver);  MODULE_AUTHOR("Thierry Reding <[email protected]>");  MODULE_DESCRIPTION("NVIDIA Tegra186 timers driver"); -MODULE_LICENSE("GPL v2");  |