Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1716106rwb; Sun, 14 Aug 2022 10:15:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR51uR39PmCJEN79OD8EQYa1vOfJ+1qN+GzOR5HAme9AbNT2bBHDFUdmmrViHIgycty2a8Yh X-Received: by 2002:a17:907:3f87:b0:731:7702:50b9 with SMTP id hr7-20020a1709073f8700b00731770250b9mr8231439ejc.735.1660497334646; Sun, 14 Aug 2022 10:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660497334; cv=none; d=google.com; s=arc-20160816; b=INfCN1GEA4CKSHfnq9C+pIOCvUr8r27UHGnOQwMnIRheC/+Wxy5iuzicmADaShM8x4 i730wV35qjQjJxeYkTgWgHcYSMVSYsJ5Xcl+3nO9uCWDJ3qHrsLYTRquPvQPb3+UCXXk S/JhTdxMfAauIHVl6heGN7d1gJ608/qOSr9YYSwOx85BimwYK2KLxF5c1IAiMB6qVlsu ZFpVA3yVtsh+QpxcCe8ImApyu4lVXqsO2yWrQN7sR+KfiYOL3+4FADyLuTgJCjdUFHez inlJLabT217ipovUrgafDwkFySqt8aXOqw1bR4884CXTTrRSOovD7gCARGEQee7hc4uZ KQMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=NWl+hZXe24TKS1SQ+krKK5tDNGRqVp7vze3Bi9MpwiU=; b=omW5v7icnYpbZ3epKuoB5DR5lHnVsWvQh8JgN+a28kYb0vMF+BWsHBDVx4n949qglK w8Hjot9gsH8x/n9QiXY7/IrV62zx13/tdqw/zRfG+Br+eVnH6lG6qfH2Tu6Z/uUZUjrR WtXzg0v4L6MgG8vCSmGcWCI06RGYtGDBSuTqMOTHBw9xWRfPEW/WCTYpoKcw9PvsPCIt 3ckYqIaJ/c0fMjnJmPHy0vO3L16AwEZA9tdLaqG+lw4QX5WBcZbBfIJp9hJGGuCMhZ03 v7MGYEuEfqoPL92JigMtIxsRkhhQsmq3Nd5b2ptIl1bXzkjDmNwyN/9GvKw7FIKbWHw9 9/fg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y20-20020a056402271400b0043bf9dcc049si6951865edd.267.2022.08.14.10.15.09; Sun, 14 Aug 2022 10:15:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240467AbiHNRC0 (ORCPT + 99 others); Sun, 14 Aug 2022 13:02:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240919AbiHNRCK (ORCPT ); Sun, 14 Aug 2022 13:02:10 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11AE611468 for ; Sun, 14 Aug 2022 10:00:43 -0700 (PDT) Received: from ipservice-092-217-070-211.092.217.pools.vodafone-ip.de ([92.217.70.211] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1oNGyV-0000Vv-GT; Sun, 14 Aug 2022 19:00:31 +0200 From: Martin Kaiser To: Jonathan Cameron , Lars-Peter Clausen Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH] iio: potentiometer: max5432: use KBUILD_MODNAME as driver name Date: Sun, 14 Aug 2022 19:00:16 +0200 Message-Id: <20220814170016.479976-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org KBUILD_MODNAME evaulates to "max5432". Replace the hard coded driver name with KBUILD_MODNAME. Signed-off-by: Martin Kaiser --- 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