lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220814170016.479976-1-martin@kaiser.cx>
Date:   Sun, 14 Aug 2022 19:00:16 +0200
From:   Martin Kaiser <martin@...ser.cx>
To:     Jonathan Cameron <jic23@...nel.org>,
        Lars-Peter Clausen <lars@...afoo.de>
Cc:     linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
        Martin Kaiser <martin@...ser.cx>
Subject: [PATCH] iio: potentiometer: max5432: use KBUILD_MODNAME as driver name

KBUILD_MODNAME evaulates to "max5432". Replace the hard coded driver name
with KBUILD_MODNAME.

Signed-off-by: Martin Kaiser <martin@...ser.cx>
---
 drivers/iio/potentiometer/max5432.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/potentiometer/max5432.c b/drivers/iio/potentiometer/max5432.c
index aed3b6ab82a2..a970bf9c99a7 100644
--- a/drivers/iio/potentiometer/max5432.c
+++ b/drivers/iio/potentiometer/max5432.c
@@ -121,7 +121,7 @@ MODULE_DEVICE_TABLE(of, max5432_dt_ids);
 
 static struct i2c_driver max5432_driver = {
 	.driver = {
-		.name = "max5432",
+		.name = KBUILD_MODNAME,
 		.of_match_table = max5432_dt_ids,
 	},
 	.probe = max5432_probe,
-- 
2.30.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ