]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/drm_panel.c
drm/panel: drop return code from drm_panel_detach()
[linux.git] / drivers / gpu / drm / drm_panel.c
index a5fe28b17fb9462eb4e01d4d5a526d97861d8b34..6b0bf42039cfa9449e6e1ad055c36e6ee08d44a1 100644 (file)
@@ -123,15 +123,11 @@ EXPORT_SYMBOL(drm_panel_attach);
  *
  * This function should not be called by the panel device itself. It
  * is only for the drm device that called drm_panel_attach().
- *
- * Return: 0 on success or a negative error code on failure.
  */
-int drm_panel_detach(struct drm_panel *panel)
+void drm_panel_detach(struct drm_panel *panel)
 {
        panel->connector = NULL;
        panel->drm = NULL;
-
-       return 0;
 }
 EXPORT_SYMBOL(drm_panel_detach);