module_w1_family(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 module_w1_family(9) β€” Kernel API Manual 🌸

okay so bestie, welcome to module_w1_family(9) ✨ this is the little helper macro page, and it's giving "less boilerplate, more slay" energy πŸ’…


✨ NAME ✨

module_w1_family β€” helper macro for registering a 1-Wire families 🫢


πŸŽ€ SYNOPSIS πŸŽ€

module_w1_family (__w1_family );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • __w1_family β€” a w1_family struct, periodt πŸ’–

🌈 DESCRIPTION 🌈

okay so module_w1_family is the helper macro for 1-Wire families that literally do not do anything special in module init/exit. no cap, it eliminates a lot of boilerplate 😭✨

each module may only use this macro once, and calling it replaces module_init and module_exit πŸ‘‘πŸ”₯

bestie, this is the "one and done" macro β€” use it once per module, and it takes over the module_init / module_exit situation for you πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./include/linux/w1.h
  • struct w1_reg_num(9)
  • struct w1_slave(9)
  • struct w1_bus_master(9)
  • enum w1_master_flags(9)
  • struct w1_master(9)
  • struct w1_family_ops(9)
  • struct w1_family(9)

signed, sealed, delivered from ./include/linux, dated October 2026 β€” mwah πŸ’‹πŸŽ€βœ¨

πŸ“¦ where this page comes from