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 <pekka.paalanen@collabora.co.uk> Reviewed-by: Ian Ray <ian.ray@ge.com> Acked-by Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -478,7 +478,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);
|
||||||
|
|
||||||
@@ -517,7 +517,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 */
|
||||||
@@ -556,7 +556,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);
|
||||||
|
|||||||
Reference in New Issue
Block a user