]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-eg20t: use i2c_add_numbered_adapter to get a fixed bus number
authorFeng Tang <feng.tang@intel.com>
Thu, 12 Jan 2012 07:38:02 +0000 (15:38 +0800)
committerBen Dooks <ben-linux@fluff.org>
Tue, 17 Jan 2012 23:24:37 +0000 (23:24 +0000)
commit9180716abe8a8700bfb178fdd95bbbd99f6ebf79
treefbe4e036efab7ebec9b9bc72e22422a88796afe2
parenta1c99cf4cf065151185ca9d5ad0fd167252c9bff
i2c-eg20t: use i2c_add_numbered_adapter to get a fixed bus number

For EG20T and ML7213 IOH, the i2c controller numbers are fixed, using
fixed bus number will make it much easier for platform code to use
i2c_register_board_info() to register i2c devices.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-eg20t.c