]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
regulator: add missing MODULE_DESCRIPTION() macro
authorJeff Johnson <quic_jjohnson@quicinc.com>
Mon, 10 Jun 2024 14:30:51 +0000 (07:30 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 14:39:29 +0000 (15:39 +0100)
On x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/regulator/da9121-regulator.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/regulator/max20411-regulator.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/regulator/rt4831-regulator.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/regulator/tps6286x-regulator.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240610-md-drivers-regulator-v2-1-cf39106d7e54@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9121-regulator.c
drivers/regulator/max20411-regulator.c
drivers/regulator/rt4831-regulator.c
drivers/regulator/tps6286x-regulator.c

index 96257551bb128a03c9c74af3d28412244f9eabfe..3571b6242e3a50577c7e057639d5d57470183b74 100644 (file)
@@ -1192,4 +1192,5 @@ static struct i2c_driver da9121_regulator_driver = {
 
 module_i2c_driver(da9121_regulator_driver);
 
+MODULE_DESCRIPTION("Dialog Semiconductor DA9121/DA9122/DA9220/DA9217/DA9130/DA9131/DA9132 regulator driver");
 MODULE_LICENSE("GPL v2");
index ce430c925c712d96b9071c973385b564fb1c54d5..02d7009ea0e61f4740fc8e1eaa90aa6d95da27ec 100644 (file)
@@ -161,4 +161,5 @@ static struct i2c_driver max20411_i2c_driver = {
 };
 module_i2c_driver(max20411_i2c_driver);
 
+MODULE_DESCRIPTION("Maxim MAX20411 High-Efficiency Single Step-Down Converter driver");
 MODULE_LICENSE("GPL");
index 97e6f7e2a0ba0e553a3d08d34387c756b196719d..dfc868a24056a1016ba8089d025c224cabc5e30b 100644 (file)
@@ -202,4 +202,5 @@ static struct platform_driver rt4831_regulator_driver = {
 module_platform_driver(rt4831_regulator_driver);
 
 MODULE_AUTHOR("ChiYuan Huang <cy_huang@richtek.com>");
+MODULE_DESCRIPTION("Richtek RT4831 DSV Regulators driver");
 MODULE_LICENSE("GPL v2");
index 67e4c8d316d91f82fdb47df4a2341af5d2ac3b76..75f441f36de7c4f34b2101623c2d8179c277580f 100644 (file)
@@ -156,4 +156,5 @@ static struct i2c_driver tps6286x_regulator_driver = {
 
 module_i2c_driver(tps6286x_regulator_driver);
 
+MODULE_DESCRIPTION("TI TPS6286x Power Regulator driver");
 MODULE_LICENSE("GPL v2");