Commit c299a2e6 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thierry Reding
Browse files

soc: tegra: cbb: Drop empty platform remove function



A remove callback just returning 0 is equivalent to no remove callback
at all. So drop the useless function.

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarSumit Gupta <sumitg@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent a0941221
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1173,11 +1173,6 @@ static int tegra234_cbb_probe(struct platform_device *pdev)
	return tegra_cbb_register(&cbb->base);
}

static int tegra234_cbb_remove(struct platform_device *pdev)
{
	return 0;
}

static int __maybe_unused tegra234_cbb_resume_noirq(struct device *dev)
{
	struct tegra234_cbb *cbb = dev_get_drvdata(dev);
@@ -1195,7 +1190,6 @@ static const struct dev_pm_ops tegra234_cbb_pm = {

static struct platform_driver tegra234_cbb_driver = {
	.probe = tegra234_cbb_probe,
	.remove = tegra234_cbb_remove,
	.driver = {
		.name = "tegra234-cbb",
		.of_match_table = tegra234_cbb_dt_ids,