[PATCH] Input: tca6416-keypad: Change to module_init()
From: Mark Brown <hidden>
Date: 2011-03-22 14:28:55
Also in:
linux-i2c, linux-input, linux-omap, linux-sh
From: Mark Brown <hidden>
Date: 2011-03-22 14:28:55
Also in:
linux-i2c, linux-input, linux-omap, linux-sh
On Tue, Mar 22, 2011 at 11:26:19PM +0900, Magnus Damm wrote:
The tca6416 driver makes use of the I2C bus for chatting with the actual hardware device. Without this patch both the I2C bus driver and the tca6416 driver are initialized at the subsys_initcall() level. This may lead to problems with the tca6416 driver being initialized before the I2C bus driver.
While this change seems reasonable I'm curious what the problems caused by out of order registration are?