From cbe176fd6280484fcf70ac0b73c370754dc6eed8 Mon Sep 17 00:00:00 2001 From: Artem Shimko Date: Thu, 31 Jul 2025 16:10:15 +0300 Subject: [PATCH v1 4/4] hwmon: scmi: Add driver version and patch author Introduce DRIVER_VERSION macro to track driver revisions and add myself as co-author to the module: - Define DRIVER_VERSION "1.0" following standard versioning - Add MODULE_VERSION for in-tree version tracking - Include my signature as module co-author This helps with: - Debugging version-specific issues - Proper attribution of contributions - Compatibility checks Signed-off-by: Artem Shimko --- drivers/hwmon/scmi-hwmon.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/hwmon/scmi-hwmon.c b/drivers/hwmon/scmi-hwmon.c index 081502418dfa..6b4b988d63c8 100644 --- a/drivers/hwmon/scmi-hwmon.c +++ b/drivers/hwmon/scmi-hwmon.c @@ -4,6 +4,7 @@ * * Copyright (C) 2018-2021 ARM Ltd. * Sudeep Holla + * Patched by Artem Shimko */ #include @@ -13,6 +14,8 @@ #include #include +#define DRIVER_VERSION "1.0" + static const struct scmi_sensor_proto_ops *sensor_ops; struct scmi_sensors { @@ -389,5 +392,7 @@ static struct scmi_driver scmi_hwmon_drv = { module_scmi_driver(scmi_hwmon_drv); MODULE_AUTHOR("Sudeep Holla "); +MODULE_AUTHOR("Artem Shimko "); MODULE_DESCRIPTION("ARM SCMI HWMON interface driver"); MODULE_LICENSE("GPL v2"); +MODULE_VERSION(DRIVER_VERSION); -- 2.43.0