clk: qcom: lcc-ipq806x: Fixup overriding val in regmap_read call
authorAxel Lin <axel.lin@ingics.com>
Sat, 10 Sep 2016 03:47:30 +0000 (11:47 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 2 Nov 2016 00:44:09 +0000 (17:44 -0700)
commit74a484ced26d802ce7fbca86f3205e1c69e27269
tree3c5e741a20154e725751d398bc03a7171977d303
parent42134fa2b70e2b70c600bf87fbe5ea5faa34ad63
clk: qcom: lcc-ipq806x: Fixup overriding val in regmap_read call

Drop the assignment of regmap_read return code to val, so the code checks
the value read.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/lcc-ipq806x.c