Magnus Damm ccb3bc16b4 i2c-sh_mobile: change module_init() to subsys_initcall()
Convert the i2c-sh_mobile i2c bus driver to use
subsys_initcall() instead of module_init().

This change makes the driver register a bit earlier which
together with earlier platform data moves the time for probe().
The earlier probe() makes it possible to use i2c_get_adapter()
and i2c_transfer() from device_initcall().

The same strategy is used by other i2c bus drivers such as
i2c-pxa.c and i2c-s3c2410.c.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
[ben-linux@fluff.org: minor subject updaye]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2009-07-30 00:59:09 +01:00
..
2009-07-28 21:07:09 -04:00
2009-07-12 12:22:34 -07:00
2009-06-16 19:50:13 -07:00
2009-06-17 09:35:24 -07:00
2009-07-12 12:22:34 -07:00
2009-07-03 15:45:29 +01:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-06-18 13:04:04 -07:00
2009-06-15 16:47:25 +10:00
2009-07-06 13:57:03 -07:00
2009-07-12 12:22:34 -07:00
2009-06-30 18:56:00 -07:00
2009-07-12 12:22:34 -07:00
2009-07-28 14:31:13 -07:00
2009-06-01 12:03:15 +01:00
2009-07-01 11:19:47 +02:00
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00