]> Pileus Git - ~andy/linux/commit
i2c: ocores: register OF i2c devices
authorGanesan Ramalingam <ganesanr@broadcom.com>
Tue, 8 May 2012 13:25:28 +0000 (18:55 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Sat, 12 May 2012 14:49:54 +0000 (16:49 +0200)
commita5063f16e2963c5d5b54692fb2da2e327162da78
tree3a9ed8fd8c03f0383202b0b7f3b4417e1e8a1040
parentc889e91d2cc22123f20f40dde0c0a91856a20eea
i2c: ocores: register OF i2c devices

Call of_i2c_register_devices() in probe function to register i2c devices
specified in the device tree or OF.

Signed-off-by: Ganesan Ramalingam <ganesanr@broadcom.com>
Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
[wsa: add proper braces]

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-ocores.c