Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cef78645 authored by Maulik Shah's avatar Maulik Shah Committed by Gerrit - the friendly Code Review server
Browse files

rpmh_master_stat: Correctly initialize rpmh_unit_base



Correctly initialize rpmh_unit_base during driver unbind.

Change-Id: I06355c89a475c53ea3f345be0f53b3a5999f5818
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 26ca81d6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -265,6 +265,7 @@ static int msm_rpmh_master_stats_remove(struct platform_device *pdev)
	kobject_put(prvdata->kobj);
	platform_set_drvdata(pdev, NULL);
	iounmap(rpmh_unit_base);
	rpmh_unit_base = NULL;

	return 0;
}