Skip to content

Commit f1243fc

Browse files
committed
Merge tag 'v6.7-rockchip-drivers1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into soc/drivers
Converting the io-domain driver to the new remove callback. * tag 'v6.7-rockchip-drivers1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: soc/rockchip: io-domain: Convert to platform remove callback returning void Link: https://lore.kernel.org/r/2578684.Lt9SDvczpP@phil Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 57e06f8 + 20bd119 commit f1243fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/soc/rockchip/io-domain.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ static int rockchip_iodomain_probe(struct platform_device *pdev)
687687
return ret;
688688
}
689689

690-
static int rockchip_iodomain_remove(struct platform_device *pdev)
690+
static void rockchip_iodomain_remove(struct platform_device *pdev)
691691
{
692692
struct rockchip_iodomain *iod = platform_get_drvdata(pdev);
693693
int i;
@@ -699,13 +699,11 @@ static int rockchip_iodomain_remove(struct platform_device *pdev)
699699
regulator_unregister_notifier(io_supply->reg,
700700
&io_supply->nb);
701701
}
702-
703-
return 0;
704702
}
705703

706704
static struct platform_driver rockchip_iodomain_driver = {
707705
.probe = rockchip_iodomain_probe,
708-
.remove = rockchip_iodomain_remove,
706+
.remove_new = rockchip_iodomain_remove,
709707
.driver = {
710708
.name = "rockchip-iodomain",
711709
.of_match_table = rockchip_iodomain_match,

0 commit comments

Comments
 (0)