Name
module_i2c_driver —
Helper macro for registering a modular I2C driver
Synopsis
module_i2c_driver ( | __i2c_driver) ; |
Arguments
__i2c_driver
i2c_driver struct
Description
Helper macro for I2C drivers 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