mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-07 13:53:24 +00:00
hte: Changes for v6.10-rc1
The changes for the hte/timestamp subsystem include the following: - Improve hte-test driver platform remove callback by replacing it with the remove_new which returns void instead. -----BEGIN PGP SIGNATURE----- iIgEABYIADAWIQT4slW2T0Q/rXAa29f4pUxhzZTZKAUCZkMFXBIcZGlwZW5wQG52 aWRpYS5jb20ACgkQ+KVMYc2U2SgrDAD7BRVZ8SEBgtnBH9rpN7kCnvgRWDU4atBH Q2uD33R0/DQBAIbcDsgke8ZvkEWsqjXMVi9PEFHIBB6uKaFZfXKsNMcM =DFu5 -----END PGP SIGNATURE----- Merge tag 'for-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen1984/linux Pull hte/timestamp update from Dipen Patel: - Improve hte-test driver platform remove callback by replacing it with the remove_new which returns void instead * tag 'for-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen1984/linux: hte: tegra-194: Convert to platform remove callback returning void
This commit is contained in:
commit
00fddaf588
@ -214,7 +214,7 @@ static int tegra_hte_test_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int tegra_hte_test_remove(struct platform_device *pdev)
|
||||
static void tegra_hte_test_remove(struct platform_device *pdev)
|
||||
{
|
||||
(void)pdev;
|
||||
|
||||
@ -222,13 +222,11 @@ static int tegra_hte_test_remove(struct platform_device *pdev)
|
||||
gpiod_put(hte.gpio_in);
|
||||
gpiod_put(hte.gpio_out);
|
||||
del_timer_sync(&hte.timer);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct platform_driver tegra_hte_test_driver = {
|
||||
.probe = tegra_hte_test_probe,
|
||||
.remove = tegra_hte_test_remove,
|
||||
.remove_new = tegra_hte_test_remove,
|
||||
.driver = {
|
||||
.name = "tegra_hte_test",
|
||||
.of_match_table = tegra_hte_test_of_match,
|
||||
|
Loading…
Reference in New Issue
Block a user