clk: use ERR_CAST() for __clk_create_clk()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 19 Jul 2016 07:28:47 +0000 (16:28 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 13 Aug 2016 01:17:04 +0000 (18:17 -0700)
commit8a23133c7a2afc49d97b5b27caefe6847d32599e
treecb33e1fb60630067f4e6ca97b10dfae71dbdfc38
parent435779fe133626b4e364b320ebc00aac8a0e6047
clk: use ERR_CAST() for __clk_create_clk()

This code is clear enough, but the intention will be even clearer
with this.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c