Skip to content
Snippets Groups Projects
Commit 7d8afdcf authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

compositor-fbdev: rename fbdev_output_disable_handler()


This is a more logical name for the function, matching the pattern used
in other backends and the hook names.

Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent a46a8097
No related branches found
No related tags found
No related merge requests found
...@@ -479,7 +479,7 @@ out_hw_surface: ...@@ -479,7 +479,7 @@ out_hw_surface:
} }
static int static int
fbdev_output_disable_handler(struct weston_output *base) fbdev_output_disable(struct weston_output *base)
{ {
struct fbdev_output *output = to_fbdev_output(base); struct fbdev_output *output = to_fbdev_output(base);
...@@ -518,7 +518,7 @@ fbdev_output_create(struct fbdev_backend *backend, ...@@ -518,7 +518,7 @@ fbdev_output_create(struct fbdev_backend *backend,
weston_output_init(&output->base, backend->compositor, "fbdev"); weston_output_init(&output->base, backend->compositor, "fbdev");
output->base.destroy = fbdev_output_destroy; output->base.destroy = fbdev_output_destroy;
output->base.disable = fbdev_output_disable_handler; output->base.disable = fbdev_output_disable;
output->base.enable = fbdev_output_enable; output->base.enable = fbdev_output_enable;
/* only one static mode in list */ /* only one static mode in list */
...@@ -557,7 +557,7 @@ fbdev_output_destroy(struct weston_output *base) ...@@ -557,7 +557,7 @@ fbdev_output_destroy(struct weston_output *base)
weston_log("Destroying fbdev output.\n"); weston_log("Destroying fbdev output.\n");
fbdev_output_disable_handler(base); fbdev_output_disable(base);
/* Remove the output. */ /* Remove the output. */
weston_output_release(&output->base); weston_output_release(&output->base);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment