From: tali.perry1@gmail.com (Tali Perry)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1 0/1] clk: npcm7xx: fix base address and of_clk_get_by_name
Date: Tue, 17 Jul 2018 14:31:28 +0300 [thread overview]
Message-ID: <20180717113129.25033-1-tali.perry1@gmail.com> (raw)
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 <tali.perry1@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
Tali Perry (1):
clk: npcm7xx: get fixed clocks from DT
drivers/clk/clk-npcm7xx.c | 101 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 77 insertions(+), 24 deletions(-)
--
2.14.1
next reply other threads:[~2018-07-17 11:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-17 11:31 Tali Perry [this message]
2018-07-17 11:31 ` [PATCH v1 1/1] clk: npcm7xx: get fixed clocks from DT Tali Perry
-- strict thread matches above, loose matches on Subject: below --
2018-11-11 13:47 [PATCH v1 0/1] clk: npcm7xx: fix base address and of_clk_get_by_name tali.perry1 at gmail.com
2018-07-17 12:47 Tali Perry
2018-07-16 10:10 Tali Perry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180717113129.25033-1-tali.perry1@gmail.com \
--to=tali.perry1@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).