diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2016-02-04 12:12:19 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-08 08:30:02 +0100 |
commit | c976b06e16a166f8d67fee950625c593d22fcff2 (patch) | |
tree | d55c3bc0ff03564b3fbe92f1a83fa86ff2736a3b /drivers/video | |
parent | 132e2269208dbbe4430b2a9b015a29acb537e63d (diff) | |
download | barebox-c976b06e16a166f8d67fee950625c593d22fcff2.tar.gz barebox-c976b06e16a166f8d67fee950625c593d22fcff2.tar.xz |
drivers: video: drop unused of_get_display_timing()
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/of_display_timing.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c index eb29ec699e..6a5bf62a36 100644 --- a/drivers/video/of_display_timing.c +++ b/drivers/video/of_display_timing.c @@ -99,31 +99,6 @@ static int of_parse_display_timing(const struct device_node *np, } /** - * of_get_display_timing - parse a display_timing entry - * @np: device_node with the timing subnode - * @name: name of the timing node - * @dt: display_timing struct to fill - **/ -int of_get_display_timing(struct device_node *np, const char *name, - struct fb_videomode *mode) -{ - struct device_node *timing_np; - - if (!np) - return -EINVAL; - - timing_np = of_get_child_by_name(np, name); - if (!timing_np) { - pr_err("%s: could not find node '%s'\n", - np->full_name, name); - return -ENOENT; - } - - return of_parse_display_timing(timing_np, mode); -} -EXPORT_SYMBOL_GPL(of_get_display_timing); - -/** * of_get_display_timings - parse all display_timing entries from a device_node * @np: device_node with the subnodes **/ |