diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-02-15 04:33:41 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-02-15 23:37:27 +0100 |
commit | 022dce0bd03905251de6cdd491a292818eaf3b89 (patch) | |
tree | cdafbf19ef651ab6c5f4f38808bc632a72d7cfba /drivers/pci/pci-label.c | |
parent | clk: rockchip: don't return NULL when registering inverter fails (diff) | |
download | linux-022dce0bd03905251de6cdd491a292818eaf3b89.tar.xz linux-022dce0bd03905251de6cdd491a292818eaf3b89.zip |
clk: rockchip: don't return NULL when registering mmc branch fails
Avoid return NULL if rockchip_clk_register_mmc fails, otherwise
rockchip_clk_register_branches print "unknown clock type". The acutal
case is that it's a known clock type but we fail to regiser it, which
may makes user confuse the reason of failure.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/pci/pci-label.c')
0 files changed, 0 insertions, 0 deletions