'\" t .\" Title: module_w1_family .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: W1 API internal to the kernel .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "MODULE_W1_FAMILY" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "W1 API internal to the kernel" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" module_w1_family \- Helper macro for registering a 1\-Wire families .SH "SYNOPSIS" .HP \w'module_w1_family('u .BI "module_w1_family(" "__w1_family" ");" .SH "ARGUMENTS" .PP \fI__w1_family\fR .RS 4 w1_family struct .RE .SH "DESCRIPTION" .PP Helper macro for 1\-Wire families which do not do anything special in module init/exit\&. This eliminates a lot of boilerplate\&. Each module may only use this macro once, and calling it replaces \fBmodule_init\fR and \fBmodule_exit\fR .SH "AUTHOR" .PP \fBDavid Fries\fR <\&David@Fries.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br