2 * Copyright (c) 2016 Google, Inc
3 * Written by Simon Glass <sjg@chromium.org>
5 * SPDX-License-Identifier: GPL-2.0+
13 * enable_backlight() - Enable the panel backlight
15 * @dev: Panel device containing the backlight to enable
16 * @return 0 if OK, -ve on error
18 int (*enable_backlight)(struct udevice *dev);
21 #define panel_get_ops(dev) ((struct panel_ops *)(dev)->driver->ops)
24 * panel_enable_backlight() - Enable the panel backlight
26 * @dev: Panel device containing the backlight to enable
27 * @return 0 if OK, -ve on error
29 int panel_enable_backlight(struct udevice *dev);