]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (drivetemp) Add module alias
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jul 2022 21:46:24 +0000 (23:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:13 +0000 (14:23 +0200)
commitd6332d12542af6253d8c99b74dd0074588027f2f
tree31d4b29064a2757409811bd154de9cca01ea630c
parentc2a39573467032b6427e0dd3c82c84c6285d7028
hwmon: (drivetemp) Add module alias

[ Upstream commit 1e6409785e010b63b9e3206b530b15beb52d6216 ]

Adding a MODULE_ALIAS() to drivetemp will make the driver easier
for modprobe to autoprobe.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220712214624.1845158-1-linus.walleij@linaro.org
Fixes: 8e55853efe1f ("hwmon: Driver for disk and solid state drives with temperature sensors")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwmon/drivetemp.c