We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c34b107 commit 0133952Copy full SHA for 0133952
drivers/video/backlight/aat2870_bl.c
@@ -12,7 +12,6 @@
12
#include <linux/platform_device.h>
13
#include <linux/mutex.h>
14
#include <linux/delay.h>
15
-#include <linux/fb.h>
16
#include <linux/backlight.h>
17
#include <linux/mfd/aat2870.h>
18
@@ -90,15 +89,9 @@ static int aat2870_bl_update_status(struct backlight_device *bd)
90
89
return 0;
91
}
92
93
-static int aat2870_bl_check_fb(struct backlight_device *bd, struct fb_info *fi)
94
-{
95
- return 1;
96
-}
97
-
98
static const struct backlight_ops aat2870_bl_ops = {
99
.options = BL_CORE_SUSPENDRESUME,
100
.update_status = aat2870_bl_update_status,
101
- .check_fb = aat2870_bl_check_fb,
102
};
103
104
static int aat2870_bl_probe(struct platform_device *pdev)
0 commit comments