* [PATCH v2] hwmon: sy7636a: add alias
@ 2025-09-09 8:02 Andreas Kemnade
2025-09-09 12:26 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Kemnade @ 2025-09-09 8:02 UTC (permalink / raw)
To: jdelvare, linux, linux-hwmon, linux-kernel; +Cc: Andreas Kemnade
Add module alias to have it autoloaded.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
Changes in v2:
use macro instead of device table
drivers/hwmon/sy7636a-hwmon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/sy7636a-hwmon.c b/drivers/hwmon/sy7636a-hwmon.c
index ed110884786b4..a12fc0ce70e76 100644
--- a/drivers/hwmon/sy7636a-hwmon.c
+++ b/drivers/hwmon/sy7636a-hwmon.c
@@ -104,3 +104,4 @@ module_platform_driver(sy7636a_sensor_driver);
MODULE_DESCRIPTION("SY7636A sensor driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:sy7636a-temperature");
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-09 12:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-09 8:02 [PATCH v2] hwmon: sy7636a: add alias Andreas Kemnade
2025-09-09 12:26 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®