]> err.no Git - linux-2.6/commit
i2c: i2c_gpio: keep probe resident for hotplugged devices.
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 Jul 2008 11:04:09 +0000 (12:04 +0100)
committerBen Dooks <ben-linux@fluff.org>
Mon, 28 Jul 2008 11:40:44 +0000 (12:40 +0100)
commit1efe7c55d2c4acc6c1d1c1a68bd9070f13815272
tree3bf7e25cb39af76d49fdbaf56865961b596fd201
parent399dee2371787825a1845de87c0cbee7b7c30ad6
i2c: i2c_gpio: keep probe resident for hotplugged devices.

Change the i2c_gpio driver to use platform_driver_register()
instead of platform_driver_probe() to ensure that is can
attach to any devices that may be loaded after it has initialised.

Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-gpio.c