[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190521060952.2949-1-zhang.chunyan@linaro.org>
Date: Tue, 21 May 2019 14:09:50 +0800
From: Chunyan Zhang <zhang.chunyan@...aro.org>
To: Stephen Boyd <sboyd@...nel.org>
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
Orson Zhai <orsonzhai@...il.com>,
Chunyan Zhang <zhang.lyra@...il.com>,
Baolin Wang <baolin.wang@...aro.org>
Subject: [PATCH 0/2] Return immediately if sprd_clk_regmap_init() fails
The function sprd_clk_regmap_init() doesn't always return success,
drivers should return immediately when it fails ranther than
continue the clock initialization.
The patch 2/2 in this set switchs to use devm_ioremap_resources()
instead of of_iomap(), that will make caller programs more simple.
Chunyan Zhang (2):
clk: sprd: Switch from of_iomap() to devm_ioremap_resource()
clk: sprd: Add check for return value of sprd_clk_regmap_init()
drivers/clk/sprd/common.c | 9 +++++++--
drivers/clk/sprd/sc9860-clk.c | 4 +++-
2 files changed, 10 insertions(+), 3 deletions(-)
--
2.17.1
Powered by blists - more mailing lists