]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit07e8a51ff68353e01d795cceafbac9f54c49132b
treefbe4e036efab7ebec9b9bc72e22422a88796afe2
parentc2bc3a316a7281f67e36b34dac2802cbe36a9128
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