]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit705b34a8bc78af3f02c7641f3ac230f39f6e37f8
treec9907cb0102d25f8681f39b8c4495e2bf5c71513
parentbe598d00f6685b5c0732b25076d2841192f6c7ef
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