summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2018-03-12 17:06:54 +0100
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-03-12 17:06:54 +0100
commita2a348014aad8bdf1466e027aa1dad2f099b7de6 (patch)
tree7c4951a59650191762da0020c17cb26e9847fe8e /include
parent9cbaf4d969ec4f5eb7a4e97afade374ee8056ef1 (diff)
downloadlinux-a2a348014aad8bdf1466e027aa1dad2f099b7de6.tar.bz2
video: of: display_timing: Remove of_display_timings_exist() function
Since introduction of of_display_timings_exist() function in commit cc3f414cf2e40 ("video: add of helper for display timings/videomode") it didn't attract any users, and the function has no potential, because of_get_display_timings() covers its functionality and does more. Drop the unused exported function from the kernel. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/of_display_timing.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/video/of_display_timing.h b/include/video/of_display_timing.h
index 956455fc9f9a..bb29e5954000 100644
--- a/include/video/of_display_timing.h
+++ b/include/video/of_display_timing.h
@@ -19,7 +19,6 @@ struct display_timings;
int of_get_display_timing(const struct device_node *np, const char *name,
struct display_timing *dt);
struct display_timings *of_get_display_timings(const struct device_node *np);
-int of_display_timings_exist(const struct device_node *np);
#else
static inline int of_get_display_timing(const struct device_node *np,
const char *name, struct display_timing *dt)
@@ -31,10 +30,6 @@ of_get_display_timings(const struct device_node *np)
{
return NULL;
}
-static inline int of_display_timings_exist(const struct device_node *np)
-{
- return -ENOSYS;
-}
#endif
#endif