Home
last modified time | relevance | path

Searched refs:dell_backlight_device (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/x86/dell/
H A Ddell-laptop.c94 static struct backlight_device *dell_backlight_device; variable
2296 if (IS_ERR(dell_backlight_device)) { in dell_init()
2297 ret = PTR_ERR(dell_backlight_device); in dell_init()
2298 dell_backlight_device = NULL; in dell_init()
2302 dell_backlight_device->props.brightness = in dell_init()
2303 dell_get_intensity(dell_backlight_device); in dell_init()
2304 if (dell_backlight_device->props.brightness < 0) { in dell_init()
2305 ret = dell_backlight_device->props.brightness; in dell_init()
2308 backlight_update_status(dell_backlight_device); in dell_init()
2314 backlight_device_unregister(dell_backlight_device); in dell_init()
[all …]