* [PATCH] drivers: video: drop unused of_display_timings_exist()
@ 2017-04-12 4:38 Antony Pavlov
2017-04-12 10:22 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2017-04-12 4:38 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
drivers/video/of_display_timing.c | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c
index 6a5bf62a3..20f9354a1 100644
--- a/drivers/video/of_display_timing.c
+++ b/drivers/video/of_display_timing.c
@@ -188,22 +188,3 @@ entryfail:
return NULL;
}
EXPORT_SYMBOL_GPL(of_get_display_timings);
-
-/**
- * of_display_timings_exist - check if a display-timings node is provided
- * @np: device_node with the timing
- **/
-int of_display_timings_exist(struct device_node *np)
-{
- struct device_node *timings_np;
-
- if (!np)
- return -EINVAL;
-
- timings_np = of_parse_phandle(np, "display-timings", 0);
- if (!timings_np)
- return -EINVAL;
-
- return 1;
-}
-EXPORT_SYMBOL_GPL(of_display_timings_exist);
--
2.11.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers: video: drop unused of_display_timings_exist()
2017-04-12 4:38 [PATCH] drivers: video: drop unused of_display_timings_exist() Antony Pavlov
@ 2017-04-12 10:22 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2017-04-12 10:22 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On Wed, Apr 12, 2017 at 07:38:40AM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
> drivers/video/of_display_timing.c | 19 -------------------
> 1 file changed, 19 deletions(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c
> index 6a5bf62a3..20f9354a1 100644
> --- a/drivers/video/of_display_timing.c
> +++ b/drivers/video/of_display_timing.c
> @@ -188,22 +188,3 @@ entryfail:
> return NULL;
> }
> EXPORT_SYMBOL_GPL(of_get_display_timings);
> -
> -/**
> - * of_display_timings_exist - check if a display-timings node is provided
> - * @np: device_node with the timing
> - **/
> -int of_display_timings_exist(struct device_node *np)
> -{
> - struct device_node *timings_np;
> -
> - if (!np)
> - return -EINVAL;
> -
> - timings_np = of_parse_phandle(np, "display-timings", 0);
> - if (!timings_np)
> - return -EINVAL;
> -
> - return 1;
> -}
> -EXPORT_SYMBOL_GPL(of_display_timings_exist);
> --
> 2.11.0
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-12 10:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-12 4:38 [PATCH] drivers: video: drop unused of_display_timings_exist() Antony Pavlov
2017-04-12 10:22 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox