From mboxrd@z Thu Jan 1 00:00:00 1970 From: tali.perry1@gmail.com (Tali Perry) Date: Mon, 16 Jul 2018 13:10:06 +0300 Subject: [PATCH v1 0/1] clk: npcm7xx: fix base address and of_clk_get_by_name Message-ID: <20180716101007.11721-1-tali.perry1@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Nuvoton NPCM7XX Clock Controller fix base address and of_clk_get_by_name error handling. Also update error messages to be more informative. In case clk_base allocation is erronoeous the return value is null. Also fix handling of of_clk_get_by_name returns an error. Print a better error message pointing to the dt-binding documention. This patch is re-submitted since it was already pushed to main (just the diff, without the full driver which is already in master branch.) Signed-off-by: Tali Perry Reviewed-by: Rob Herring Signed-off-by: Wei Yongjun --- Tali Perry (1): clk: npcm7xx: get fixed clocks from DT drivers/clk/clk-npcm7xx.c | 102 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 87 insertions(+), 15 deletions(-) -- 2.14.1