소스 검색

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>
Vivien Didelot 13 년 전
부모
커밋
0ec13867ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/linux/i2c.h

+ 1 - 1
include/linux/i2c.h

@@ -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