mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk
authorAxel Lin <axel.lin@ingics.com>
Wed, 26 Jun 2019 13:30:07 +0000 (21:30 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 2 Jul 2019 11:11:31 +0000 (12:11 +0100)
commit7efd105c27fd2323789b41b64763a0e33ed79c08
tree8e98b2290dbe0db77ad26f2476044e487738997c
parentd6871a73387d51dfdde6ad1479aea54d3eafcc89
mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk

Since devm_regmap_init_mmio_clk can fail, add return value checking.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/hi655x-pmic.c