• D
    hwmon: Use subsys_initcall · 37f54ee5
    David Brownell 提交于
    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: NDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: NJean Delvare <khali@linux-fr.org>
    37f54ee5
hwmon.c 2.7 KB