devm_lcd_device_register(9)
π devm_lcd_device_register(9) π
okay so this is from the Kernel API Manual, bestie β and itβs giving βresource-managed device registrationβ energy β¨
β¨ NAME β¨
devm_lcd_device_register β resource managed lcd_device_register() π
β¨ SYNOPSIS β¨
struct lcd_device * devm_lcd_device_register (struct device *dev , const
char *name , struct device *parent , void *devdata , const struct
lcd_ops *ops );
β¨ ARGUMENTS β¨
devβ the device to register π«Άnameβ the name of the device πparentβ a pointer to the parent device πΈdevdataβ an optional pointer to be stored for private driver use πopsβ the lcd operations structure π
β¨ DESCRIPTION β¨
This returns a struct lcd on success, or an ERR_PTR on error π
Itβs the managed lcd_device_register. The lcd_device returned from this function are automatically freed on driver detach β so cleanup is handled for you, no cap. See lcd_device_register for more information. π¦
β¨ SEE ALSO β¨
- Kernel file:
./drivers/video/backlight/lcd.c lcd_device_register(9)lcd_device_unregister(9)devm_lcd_device_unregister(9)
π source/version:./drivers/video/backlightΒ· date:October 2026. periodt.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms