• J
    hwmon: (lm85) Simplify device initialization function · 5f447594
    Jean Delvare 提交于
    Clean up and simplify the device initialization function:
    * Degrade error messages to warnings - what they really are.
    * Stop warning about VxI mode, we don't really care.
    * Drop comment about lack of limit initialization - that's the standard
      way, all hardware monitoring drivers do that.
    * Only read the configuration register once.
    * Only write back to the configuration register if needed.
    * Don't attempt to clear the lock bit, it locks itself to 1.
    * Move the function to before it's called, so that we no longer need to
      forware declare it.
    Signed-off-by: NJean Delvare <khali@linux-fr.org>
    Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
    5f447594
lm85.c 47.0 KB
反馈
建议
客服 返回
顶部