module_w1_family(9)

module_w1_family9

Helper macro for registering a 1-wire families

Usage

module_w1_family(__w1_family);

Arguments

__w1_family

w1_family struct

Overview

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 module_init and module_exit

Author

David Fries <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.