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

Commit bdf0290a authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown
Browse files

spi: txx9: drop clk_put for devm_clk_get in txx9spi_probe()



devm_clk_get() is used so there is no reason to explicitly
call clk_put() in txx9spi_probe() functions.

Fixes: 18e34d56 ('spi: txx9: Use devm_clk_get()')
Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.og>
parent 18e34d56
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -356,7 +356,6 @@ static int txx9spi_probe(struct platform_device *dev)
	}
	ret = clk_enable(c->clk);
	if (ret) {
		clk_put(c->clk);
		c->clk = NULL;
		goto exit;
	}