aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-npcm7xx.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-05-01clk: npcm7xx: fix return value check in npcm7xx_clk_init()Wei Yongjun1-1/+1
In case of error, the function ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: fcfd14369856 ("clk: npcm7xx: add clock controller") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2018-04-16clk: npcm7xx: add clock controllerTali Perry1-0/+656
Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which generates and supplies clocks to all modules within the BMC. Signed-off-by: Tali Perry <tali.perry1@gmail.com> [sboyd@kernel.org: Drop clk_get()s, cleanup whitespace, drop unused includes, fix static checker warnings] Signed-off-by: Stephen Boyd <sboyd@kernel.org>