Skip to content

Commit 00fddaf

Browse files
committed
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
2 parents a8cc7eb + 297f26d commit 00fddaf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/hte/hte-tegra194-test.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,21 +214,19 @@ static int tegra_hte_test_probe(struct platform_device *pdev)
214214
return ret;
215215
}
216216

217-
static int tegra_hte_test_remove(struct platform_device *pdev)
217+
static void tegra_hte_test_remove(struct platform_device *pdev)
218218
{
219219
(void)pdev;
220220

221221
free_irq(hte.gpio_in_irq, &hte);
222222
gpiod_put(hte.gpio_in);
223223
gpiod_put(hte.gpio_out);
224224
del_timer_sync(&hte.timer);
225-
226-
return 0;
227225
}
228226

229227
static struct platform_driver tegra_hte_test_driver = {
230228
.probe = tegra_hte_test_probe,
231-
.remove = tegra_hte_test_remove,
229+
.remove_new = tegra_hte_test_remove,
232230
.driver = {
233231
.name = "tegra_hte_test",
234232
.of_match_table = tegra_hte_test_of_match,

0 commit comments

Comments
 (0)