public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Simon Horman <horms+renesas@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-clk@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 2/4] clk: renesas: cpg-mssr: Drop check for CONFIG_PM_GENERIC_DOMAINS_OF
Date: Thu, 10 Mar 2016 04:21:17 +0200	[thread overview]
Message-ID: <2046402.lcuHf8E64j@avalon> (raw)
In-Reply-To: <1457551114-21764-3-git-send-email-geert+renesas@glider.be>

Hi Geert,

Thank you for the patch.

On Wednesday 09 March 2016 20:18:32 Geert Uytterhoeven wrote:
> As of commit 71d076ceb245f0d9 ("ARM: shmobile: Enable PM and
> PM_GENERIC_DOMAINS for SoCs with PM Domains"),
> CONFIG_PM_GENERIC_DOMAINS_OF is always enabled for SoCs with a CPG/MSSR
> block.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  drivers/clk/renesas/renesas-cpg-mssr.c | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/drivers/clk/renesas/renesas-cpg-mssr.c
> b/drivers/clk/renesas/renesas-cpg-mssr.c index
> 58e24b326a48bb81..7482e7f6d37fbe22 100644
> --- a/drivers/clk/renesas/renesas-cpg-mssr.c
> +++ b/drivers/clk/renesas/renesas-cpg-mssr.c
> @@ -376,7 +376,6 @@ fail:
>  }
> 
> 

While at it you can remove one of the blank lines here...

> -#ifdef CONFIG_PM_GENERIC_DOMAINS_OF
>  struct cpg_mssr_clk_domain {
>  	struct generic_pm_domain genpd;
>  	struct device_node *np;
> @@ -491,14 +490,6 @@ static int __init cpg_mssr_add_clk_domain(struct device
> *dev, of_genpd_add_provider_simple(np, genpd);
>  	return 0;
>  }
> -#else
> -static inline int cpg_mssr_add_clk_domain(struct device *dev,
> -					  const unsigned int *core_pm_clks,
> -					  unsigned int num_core_pm_clks)
> -{
> -	return 0;
> -}
> -#endif /* !CONFIG_PM_GENERIC_DOMAINS_OF */
> 
> 

... and here too.

(Same comment applies to patch 1/4)

Apart from that,

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

for 1/4 and 2/4.

>  static const struct of_device_id cpg_mssr_match[] = {

-- 
Regards,

Laurent Pinchart
-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2016-03-10  2:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09 19:18 [PATCH 0/4] clk: renesas: PM Domain Cleanups and Preparation Geert Uytterhoeven
2016-03-09 19:18 ` [PATCH 1/4] clk: renesas: mstp: Drop check for CONFIG_PM_GENERIC_DOMAINS_OF Geert Uytterhoeven
2016-03-09 19:18 ` [PATCH 2/4] clk: renesas: cpg-mssr: " Geert Uytterhoeven
2016-03-10  2:21   ` Laurent Pinchart [this message]
2016-03-09 19:18 ` [PATCH 3/4] clk: renesas: mstp: Clarify cpg_mstp_{at,de}tach_dev() domain parameter Geert Uytterhoeven
2016-03-09 19:18 ` [PATCH 4/4] clk: renesas: cpg-mssr: Export cpg_mssr_{at,de}tach_dev() Geert Uytterhoeven
2016-04-07 11:26   ` Geert Uytterhoeven
2016-04-07 15:28 ` [PATCH 0/4] clk: renesas: PM Domain Cleanups and Preparation Geert Uytterhoeven

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=2046402.lcuHf8E64j@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=geert+renesas@glider.be \
    --cc=horms+renesas@verge.net.au \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.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