diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-02-25 09:42:31 -0500 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2019-03-04 09:31:27 -0500 |
commit | 2afd9fcba6b168ab4fa5c38680f98147a745d31c (patch) | |
tree | 80b734009ec85bd4f5f89b91b0aedfea9a9ea2e2 /include/drm/tinydrm | |
parent | 3eba3922819fe221ebaf397d0bde2d654f9e7a02 (diff) |
drm/tinydrm: Remove tinydrm_device
No more users left so it can go alongside its helpers.
Update the tinydrm docs description and remove todo entry.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190225144232.20761-7-noralf@tronnes.org
Diffstat (limited to 'include/drm/tinydrm')
-rw-r--r-- | include/drm/tinydrm/tinydrm.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/include/drm/tinydrm/tinydrm.h b/include/drm/tinydrm/tinydrm.h deleted file mode 100644 index ee9b17759391..000000000000 --- a/include/drm/tinydrm/tinydrm.h +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2016 Noralf Trønnes | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | */ | ||
9 | |||
10 | #ifndef __LINUX_TINYDRM_H | ||
11 | #define __LINUX_TINYDRM_H | ||
12 | |||
13 | #include <drm/drm_simple_kms_helper.h> | ||
14 | |||
15 | struct drm_driver; | ||
16 | |||
17 | /** | ||
18 | * struct tinydrm_device - tinydrm device | ||
19 | */ | ||
20 | struct tinydrm_device { | ||
21 | /** | ||
22 | * @drm: DRM device | ||
23 | */ | ||
24 | struct drm_device *drm; | ||
25 | |||
26 | /** | ||
27 | * @pipe: Display pipe structure | ||
28 | */ | ||
29 | struct drm_simple_display_pipe pipe; | ||
30 | }; | ||
31 | |||
32 | static inline struct tinydrm_device * | ||
33 | pipe_to_tinydrm(struct drm_simple_display_pipe *pipe) | ||
34 | { | ||
35 | return container_of(pipe, struct tinydrm_device, pipe); | ||
36 | } | ||
37 | |||
38 | int devm_tinydrm_init(struct device *parent, struct tinydrm_device *tdev, | ||
39 | struct drm_driver *driver); | ||
40 | int devm_tinydrm_register(struct tinydrm_device *tdev); | ||
41 | |||
42 | #endif /* __LINUX_TINYDRM_H */ | ||