OSDN Git Service

hwmon: (nct7904) Set default timeout
authorYuechao Zhao <yuechao.zhao@advantech.com.cn>
Wed, 27 May 2020 06:16:59 +0000 (06:16 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 27 May 2020 06:46:24 +0000 (23:46 -0700)
commit156ad7f9e0b39cfa0ed02e42c6e1c258c4e81e05
treec9907cb0102d25f8681f39b8c4495e2bf5c71513
parent59dd36f41ea6a5c69c1f737125251df2ff8eb5ce
hwmon: (nct7904) Set default timeout

The timeout module parameter should not be used for setting the default
timeout. Because, if you set the timeout = 0, the default timeout will
be meaningless. And the timeout module parameter of 0 means "no timeout
module parameter specified".

Signed-off-by: Yuechao Zhao <yuechao.zhao@advantech.com.cn>
Link: https://lore.kernel.org/r/1590560219-41328-1-git-send-email-yuechao.zhao@advantech.com.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct7904.c