devm_lcd_device_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 ✨


πŸ’… source/version: ./drivers/video/backlight Β· date: October 2026. periodt.
πŸ“¦ where this page comes from