ram: sifive: Check return value on clk_enable()
authorBin Meng <bin.meng@windriver.com>
Tue, 15 Sep 2020 08:05:06 +0000 (16:05 +0800)
committerAndes <uboot@andestech.com>
Wed, 30 Sep 2020 00:54:38 +0000 (08:54 +0800)
commitf8c9660bfe17100a27ca4cf28f957a25cb420255
treeb0826e85ac75bfaa0b245daa56d199d1b9b321be
parent08bff30d5d15ddeb1da82d112b8b98d1cac06889
ram: sifive: Check return value on clk_enable()

The return value should be checked otherwise it's useless to
assign the return value to 'ret'.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
drivers/ram/sifive/fu540_ddr.c