Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: Correct struct i2c_driver doc about detection

s/address_data/address_list/ in addition to c3813d6.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

authored by

Vivien Didelot and committed by
Jean Delvare
0ec13867 f82b8626

+1 -1
+1 -1
include/linux/i2c.h
··· 144 144 * The driver.owner field should be set to the module owner of this driver. 145 145 * The driver.name field should be set to the name of this driver. 146 146 * 147 - * For automatic device detection, both @detect and @address_data must 147 + * For automatic device detection, both @detect and @address_list must 148 148 * be defined. @class should also be set, otherwise only devices forced 149 149 * with module parameters will be created. The detect function must 150 150 * fill at least the name field of the i2c_board_info structure it is