public inbox for linux-fbdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] video: fbdev: simplefb: Stop including <linux/clk-provider.h>
@ 2018-06-19 17:22 ` Geert Uytterhoeven
  2018-06-19 17:30   ` Hans de Goede
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2018-06-19 17:22 UTC (permalink / raw)
  To: Hans de Goede, Bartlomiej Zolnierkiewicz
  Cc: linux-fbdev, Geert Uytterhoeven, linux-clk, dri-devel

Simplefb is not a clock provider, but it uses of_clk_get_parent_count(),
so it can just include <linux/of_clk.h> instead.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/video/fbdev/simplefb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/simplefb.c
index a3c44ecf4523e8ed..9a9d748b07f2777d 100644
--- a/drivers/video/fbdev/simplefb.c
+++ b/drivers/video/fbdev/simplefb.c
@@ -27,8 +27,8 @@
 #include <linux/platform_data/simplefb.h>
 #include <linux/platform_device.h>
 #include <linux/clk.h>
-#include <linux/clk-provider.h>
 #include <linux/of.h>
+#include <linux/of_clk.h>
 #include <linux/of_platform.h>
 #include <linux/parser.h>
 #include <linux/regulator/consumer.h>
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] video: fbdev: simplefb: Stop including <linux/clk-provider.h>
  2018-06-19 17:22 ` [PATCH] video: fbdev: simplefb: Stop including <linux/clk-provider.h> Geert Uytterhoeven
@ 2018-06-19 17:30   ` Hans de Goede
  2018-06-19 20:12   ` Stephen Boyd
  2018-07-03 15:10   ` Bartlomiej Zolnierkiewicz
  2 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2018-06-19 17:30 UTC (permalink / raw)
  To: Geert Uytterhoeven, Bartlomiej Zolnierkiewicz
  Cc: linux-fbdev, linux-clk, dri-devel

Hi,

On 19-06-18 19:22, Geert Uytterhoeven wrote:
> Simplefb is not a clock provider, but it uses of_clk_get_parent_count(),
> so it can just include <linux/of_clk.h> instead.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

LGTM:

Acked-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans



> ---
>   drivers/video/fbdev/simplefb.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/simplefb.c
> index a3c44ecf4523e8ed..9a9d748b07f2777d 100644
> --- a/drivers/video/fbdev/simplefb.c
> +++ b/drivers/video/fbdev/simplefb.c
> @@ -27,8 +27,8 @@
>   #include <linux/platform_data/simplefb.h>
>   #include <linux/platform_device.h>
>   #include <linux/clk.h>
> -#include <linux/clk-provider.h>
>   #include <linux/of.h>
> +#include <linux/of_clk.h>
>   #include <linux/of_platform.h>
>   #include <linux/parser.h>
>   #include <linux/regulator/consumer.h>
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] video: fbdev: simplefb: Stop including <linux/clk-provider.h>
  2018-06-19 17:22 ` [PATCH] video: fbdev: simplefb: Stop including <linux/clk-provider.h> Geert Uytterhoeven
  2018-06-19 17:30   ` Hans de Goede
@ 2018-06-19 20:12   ` Stephen Boyd
  2018-07-03 15:10   ` Bartlomiej Zolnierkiewicz
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2018-06-19 20:12 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Hans de Goede
  Cc: linux-fbdev, Geert Uytterhoeven, linux-clk, dri-devel

Quoting Geert Uytterhoeven (2018-06-19 10:22:21)
> Simplefb is not a clock provider, but it uses of_clk_get_parent_count(),
> so it can just include <linux/of_clk.h> instead.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---

Acked-by: Stephen Boyd <sboyd@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] video: fbdev: simplefb: Stop including <linux/clk-provider.h>
  2018-06-19 17:22 ` [PATCH] video: fbdev: simplefb: Stop including <linux/clk-provider.h> Geert Uytterhoeven
  2018-06-19 17:30   ` Hans de Goede
  2018-06-19 20:12   ` Stephen Boyd
@ 2018-07-03 15:10   ` Bartlomiej Zolnierkiewicz
  2 siblings, 0 replies; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-07-03 15:10 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Hans de Goede, linux-fbdev, linux-clk, dri-devel

On Tuesday, June 19, 2018 07:22:21 PM Geert Uytterhoeven wrote:
> Simplefb is not a clock provider, but it uses of_clk_get_parent_count(),
> so it can just include <linux/of_clk.h> instead.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Patch queued for 4.19, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-03 15:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20180619172229epcas3p15ff0f115330cd4ffea687479cc929738@epcas3p1.samsung.com>
2018-06-19 17:22 ` [PATCH] video: fbdev: simplefb: Stop including <linux/clk-provider.h> Geert Uytterhoeven
2018-06-19 17:30   ` Hans de Goede
2018-06-19 20:12   ` Stephen Boyd
2018-07-03 15:10   ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox