diff options
author | Marek Szyprowski <[email protected]> | 2010-05-21 18:40:58 +0200 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2010-05-21 18:40:58 +0200 |
commit | b8680784875b26a2876df5959673a496d56af673 (patch) | |
tree | 6465233c21b2372275204ff633773cf55ed7a0d5 /tools/perf/util/trace-event-scripting.c | |
parent | bfdcad902fb17a830834d4015ea9139df052a4fe (diff) |
i2c-gpio: Move initialization code to subsys_initcall()
GPIO driven I2C bus can be used for controlling the PMIC chip. The
example of such configuration is Samsung Aquila board.
This patch moves initialization code to subsys_initcall() to ensure
that the i2c bus is available early so the regulators can be quickly
probed and available for other devices on their probe() call.
Such solution has been proposed by Mark Brown to fix the problem of
the regulators not beeing available on the peripheral device probe():
http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/011971.html
Cc: Mark Brown <[email protected]>
Reviewed-by: Kyungmin Park <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions