soc: rockchip: power-domain: check the existing of regmap
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 15 Feb 2016 03:33:57 +0000 (11:33 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 12 Apr 2016 01:28:08 +0000 (03:28 +0200)
commit4506697d9f8537a8d33e9e002f8efceb32d10757
treedd6cda03f1a2913b4b4dbd4fd400f946c39c845a
parentfd8b62cc38b356bcdf20ac8f1a647db7b11240cf
soc: rockchip: power-domain: check the existing of regmap

Check return value of syscon_node_to_regmap for
rockchip_pm_domain_probe. If err value is returned, probe
procedure should abort.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/soc/rockchip/pm_domains.c