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>
This commit is contained in:
Vivien Didelot
2012-10-05 22:23:54 +02:00
committed by Jean Delvare
parent f82b86267a
commit 0ec13867ef

View File

@@ -144,7 +144,7 @@ extern s32 i2c_smbus_write_i2c_block_data(const struct i2c_client *client,
* The driver.owner field should be set to the module owner of this driver. * The driver.owner field should be set to the module owner of this driver.
* The driver.name field should be set to the name of this driver. * The driver.name field should be set to the name of this driver.
* *
* For automatic device detection, both @detect and @address_data must * For automatic device detection, both @detect and @address_list must
* be defined. @class should also be set, otherwise only devices forced * be defined. @class should also be set, otherwise only devices forced
* with module parameters will be created. The detect function must * with module parameters will be created. The detect function must
* fill at least the name field of the i2c_board_info structure it is * fill at least the name field of the i2c_board_info structure it is