From: Stephen Boyd <sboyd@codeaurora.org>
To: Mike Looijmans <mike.looijmans@topic.nl>
Cc: linux-clk@vger.kernel.org
Subject: Re: [PATCH v3] Add driver for the si514 clock generator chip
Date: Mon, 5 Oct 2015 11:10:57 -0700 [thread overview]
Message-ID: <20151005181057.GC12338@codeaurora.org> (raw)
In-Reply-To: <56121372.6040109@topic.nl>
On 10/05, Mike Looijmans wrote:
> On 02-10-15 21:18, Stephen Boyd wrote:
> >On 10/02, Mike Looijmans wrote:
> >>This patch adds the driver and devicetree documentation for the
> >>Silicon Labs SI514 clock generator chip. This is an I2C controlled
> >>oscillator capable of generating clock signals ranging from 100kHz
> >>to 250MHz.
> >>
> >>Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
> >>---
> >
> >Applied to clk-next. We can handle any stuff about assigned rates
> >in a follow up patch.
> >
> >Also, I squashed in this for some cleanup.
> >
> >diff --git a/drivers/clk/clk-si514.c b/drivers/clk/clk-si514.c
> >index 779aebcd884b..6af7dce54241 100644
> >--- a/drivers/clk/clk-si514.c
> >+++ b/drivers/clk/clk-si514.c
> >@@ -16,7 +16,6 @@
> > * GNU General Public License for more details.
> > */
> >
> >-#include <linux/clk.h>
>
> Interesting - I only added this include because of your comment:
> "I'd expect some sort of linux/clk.h include here if we're using
> clk APIs."
>
> Could you elaborate on that, I'm confused now...
>
The driver is only using the clk provider APIs that are in
clk-provider.h, because you removed the part that was calling
clk_set_rate() (which is a clk consumer API). So before that
change we would have needed the clk.h include, but now it
compiles fine without it.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
prev parent reply other threads:[~2015-10-05 18:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1442478495-23522-1-git-send-email-mike.looijmans@topic.nl>
2015-09-17 11:04 ` [PATCH v2] Add driver for the si514 clock generator chip Mike Looijmans
2015-10-01 23:34 ` Stephen Boyd
2015-10-02 6:02 ` Mike Looijmans
2015-10-02 18:10 ` Stephen Boyd
2015-10-02 7:15 ` [PATCH v3] " Mike Looijmans
2015-10-02 19:18 ` Stephen Boyd
2015-10-05 6:06 ` Mike Looijmans
2015-10-05 18:10 ` Stephen Boyd [this message]
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=20151005181057.GC12338@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=linux-clk@vger.kernel.org \
--cc=mike.looijmans@topic.nl \
/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).