File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,8 @@ static int exynos_lpass_probe(struct platform_device *pdev)
122
122
if (IS_ERR (lpass -> sfr0_clk ))
123
123
return PTR_ERR (lpass -> sfr0_clk );
124
124
125
- lpass -> top = regmap_init_mmio (dev , base_top ,
126
- & exynos_lpass_reg_conf );
125
+ lpass -> top = devm_regmap_init_mmio (dev , base_top ,
126
+ & exynos_lpass_reg_conf );
127
127
if (IS_ERR (lpass -> top )) {
128
128
dev_err (dev , "LPASS top regmap initialization failed\n" );
129
129
return PTR_ERR (lpass -> top );
@@ -145,7 +145,6 @@ static void exynos_lpass_remove(struct platform_device *pdev)
145
145
pm_runtime_disable (& pdev -> dev );
146
146
if (!pm_runtime_status_suspended (& pdev -> dev ))
147
147
exynos_lpass_disable (lpass );
148
- regmap_exit (lpass -> top );
149
148
}
150
149
151
150
static int __maybe_unused exynos_lpass_suspend (struct device * dev )
You can’t perform that action at this time.
0 commit comments