i2c: sirf: register i2c_client from dt child-nodes in probe entry
authorBarry Song <Baohua.Song@csr.com>
Wed, 26 Dec 2012 02:30:16 +0000 (10:30 +0800)
committerWolfram Sang <w.sang@pengutronix.de>
Tue, 22 Jan 2013 08:54:31 +0000 (09:54 +0100)
commitbfd059da9503e0091541285cb0481f66b95c0296
tree6a495b89b5c57467774421f4116a505c297da7e3
parent0f40cbc4f85e13b1a42ae2f41231645a14965872
i2c: sirf: register i2c_client from dt child-nodes in probe entry

in probe() entry of i2c_driver, set the of node of adapter and
call of_i2c_register_devices to register all i2c_client from
dt child-nodes

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-sirf.c