[lkml]   [2019]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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(-)


 \ /
  Last update: 2019-05-21 08:17    [W:0.064 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site