Displaying 5 results from an estimated 5 matches for "devm_backlight_device_regist".
Did you mean:
devm_backlight_device_register
2016 Aug 04
2
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...> --- a/drivers/video/backlight/88pm860x_bl.c
>> +++ b/drivers/video/backlight/88pm860x_bl.c
>> @@ -242,7 +242,8 @@ static int pm860x_backlight_probe(struct platform_device *pdev)
>> props.type = BACKLIGHT_RAW;
>> props.max_brightness = MAX_BRIGHTNESS;
>> bl = devm_backlight_device_register(&pdev->dev, name, &pdev->dev, data,
>> - &pm860x_backlight_ops, &props);
>> + &pm860x_backlight_ops, &props,
>> + BACKLIGHT_REGISTER_FB_CLIENT);
>> if (IS_ERR(bl)) {
>> dev_err(&pdev->dev, "failed to register...
2016 Jul 12
0
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...e0d8212aebc0 100644
> --- a/drivers/video/backlight/88pm860x_bl.c
> +++ b/drivers/video/backlight/88pm860x_bl.c
> @@ -242,7 +242,8 @@ static int pm860x_backlight_probe(struct platform_device *pdev)
> props.type = BACKLIGHT_RAW;
> props.max_brightness = MAX_BRIGHTNESS;
> bl = devm_backlight_device_register(&pdev->dev, name, &pdev->dev, data,
> - &pm860x_backlight_ops, &props);
> + &pm860x_backlight_ops, &props,
> + BACKLIGHT_REGISTER_FB_CLIENT);
> if (IS_ERR(bl)) {
> dev_err(&pdev->dev, "failed to register backlight\n");...
2016 Jun 30
6
[PATCH] backlight: Avoid double fbcon backlight handling
...860x_bl.c
index 6d8dc2c77520..e0d8212aebc0 100644
--- a/drivers/video/backlight/88pm860x_bl.c
+++ b/drivers/video/backlight/88pm860x_bl.c
@@ -242,7 +242,8 @@ static int pm860x_backlight_probe(struct platform_device *pdev)
props.type = BACKLIGHT_RAW;
props.max_brightness = MAX_BRIGHTNESS;
bl = devm_backlight_device_register(&pdev->dev, name, &pdev->dev, data,
- &pm860x_backlight_ops, &props);
+ &pm860x_backlight_ops, &props,
+ BACKLIGHT_REGISTER_FB_CLIENT);
if (IS_ERR(bl)) {
dev_err(&pdev->dev, "failed to register backlight\n");
return PTR_ERR(bl);
d...
2016 Aug 04
1
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...backlight/88pm860x_bl.c
> >> +++ b/drivers/video/backlight/88pm860x_bl.c
> >> @@ -242,7 +242,8 @@ static int pm860x_backlight_probe(struct platform_device *pdev)
> >> props.type = BACKLIGHT_RAW;
> >> props.max_brightness = MAX_BRIGHTNESS;
> >> bl = devm_backlight_device_register(&pdev->dev, name, &pdev->dev, data,
> >> - &pm860x_backlight_ops, &props);
> >> + &pm860x_backlight_ops, &props,
> >> + BACKLIGHT_REGISTER_FB_CLIENT);
> >> if (IS_ERR(bl)) {
> >> dev_err(&pdev->dev,...
2024 Feb 13
2
[PATCH v2 3/8] fbdev: Do not include <linux/backlight.h> in header
Forward declare struct backlight_device and remove the include
statement.
Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
Reviewed-by: Jani Nikula <jani.nikula at intel.com>
---
include/linux/fb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 2ce2f5c2fca9a..7380d959c5d53 100644
--- a/include/linux/fb.h
+++