Merge branches 'ib-backlight-auxdisplay-staging-omap-6.9', 'ib-backlight-auxdisplay-hid-fb-6.9' and 'ib-backlight-hid-fbdev-lcd-scripts-6.10' into ibs-for-backlight-merged
···1313#include <linux/fb.h>1414#include <linux/mutex.h>1515#include <linux/notifier.h>1616+#include <linux/types.h>16171718/**1819 * enum backlight_update_reason - what method was used to update backlight···111110};112111113112struct backlight_device;114114-struct fb_info;115113116114/**117115 * struct backlight_ops - backlight operations···160160 int (*get_brightness)(struct backlight_device *);161161162162 /**163163- * @check_fb: Check the framebuffer device.163163+ * @controls_device: Check against the display device164164 *165165- * Check if given framebuffer device is the one bound to this backlight.166166- * This operation is optional and if not implemented it is assumed that the167167- * fbdev is always the one bound to the backlight.165165+ * Check if the backlight controls the given display device. This166166+ * operation is optional and if not implemented it is assumed that167167+ * the display is always the one controlled by the backlight.168168 *169169 * RETURNS:170170 *171171- * If info is NULL or the info matches the fbdev bound to the backlight return true.172172- * If info does not match the fbdev bound to the backlight return false.171171+ * If display_dev is NULL or display_dev matches the device controlled by172172+ * the backlight, return true. Otherwise return false.173173 */174174- int (*check_fb)(struct backlight_device *bd, struct fb_info *info);174174+ bool (*controls_device)(struct backlight_device *bd, struct device *display_dev);175175};176176177177/**