Searched hist:"37 f54ee546e415829ef14ca29d85fae26a439b9b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | hwmon.c | diff 37f54ee546e415829ef14ca29d85fae26a439b9b Wed Feb 14 14:15:04 CST 2007 David Brownell <david-b@pacbell.net> hwmon: Use subsys_initcall
Subsystem infrastructure should normally register with "subsys_initcall", so that it's available to drivers that may need to initialize early.
This patch updates "hwmon" to do so. It's common for embedded systems to have multifunction chips with hardware monitoring interfaces, and to have those chips be used during system bringup ... before a normal "module_init" would kick, or maybe just linked so they'd init before hwmon.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
|