All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Sverdlin <alexander.sverdlin@gmail.com>
To: Russell King <linux@arm.linux.org.uk>, linux-clk@vger.kernel.org
Cc: alexander.sverdlin@gmail.com
Subject: [PATCH] clk: Fix comment to clk_get_parent()
Date: Wed, 25 Nov 2015 02:46:39 +0100	[thread overview]
Message-ID: <565512FF.2080704@gmail.com> (raw)

There is no single implementation of clk_get_parent(), which returns ERR_PTR().
Therefore, fix the comment in common header linux/clk.h, which claims otherwise.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
---
 include/linux/clk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/clk.h b/include/linux/clk.h
index 0df4a51..0f53683 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -387,7 +387,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent);
  * @clk: clock source
  *
  * Returns struct clk corresponding to parent clock source, or
- * valid IS_ERR() condition containing errno.
+ * NULL on error.
  */
 struct clk *clk_get_parent(struct clk *clk);


                 reply	other threads:[~2015-11-25  1:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=565512FF.2080704@gmail.com \
    --to=alexander.sverdlin@gmail.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.