Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp751134rdb; Fri, 17 Nov 2023 11:31:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhCkiveSeXjkEU01F3EFv2y9TfXL7HApQTyPlNMmFJmH5uw4il0Xmb6ocSs0pOs0UFicJZ X-Received: by 2002:a62:58c5:0:b0:6c3:703a:c394 with SMTP id m188-20020a6258c5000000b006c3703ac394mr345363pfb.27.1700249512549; Fri, 17 Nov 2023 11:31:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700249512; cv=none; d=google.com; s=arc-20160816; b=OpHvPAC+w9YT87pUQSIWGUi0EhgsA0LYTLOX6RGddOPTKrpCqH4R56Lw2Il6DXs2Hv kGCpnF5Wo+x3rVBS3eBCKi2Ktz9bnu9nAA+OmsHGvC8/8z7TKFhZlIo7XdrRoFCmfUS8 mzeqdrtKz9P2FISmR9Lah4Y2hRhoPEzI8cvDhj1wJ7hVasPyiIh+r0cE+RRx292+4Oaq bXa2t0nxkCcrpbIdxgiAT7jofSgaH3PI9Q1vL4cqf++1lJEF9PEYZ/AFOW41E0HePayn mJJd2+VFRmq+1LA7mUpzkFV41zPDkW1+fWW3S24o9hI8NSOnzFvbTBCYvd1rQpNGcTTa CORw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S/VFXQyC/uHK3jgeZHFzLlSxky95FXvt0ibC3wwB25I=; fh=ZMdPUWh1E7uWnaKH6BO8GRWQFIDFPE/RaXWhVQXLoY4=; b=NEAEdB4kmli+ISJHnt3/NkCP7oC4P7k3oaNyKYU7zw0Z2w7jcOYT4Fj2Y1EcoV7Qlt Go5HqVJ1GHi4JbHlrrmOgbbVEqR52LOORY5DT6AHx/yTyWAkmapTMFmZmLOerbO0388M MiJvcohxV0vY1cGEqPsB68A4woN5SOSSZ4tMLAWZClqqAGQy/hqipG8E2uPuAugiWPhG gV5ZeopwJpmZqyCyfHUKKjKMjl1RnBSGbzK3DEVWTM0WlaZ6vr2qePIzQDZlQ7KGmd73 mHwVSMrmGXAqA3VbpvAbevvYNNkZZhciYcyTwEoeE+nD9edgAhA+9c5h+iCOPGa/jgyl Te6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=coNfcDQR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id w7-20020a654107000000b005b98cb7b469si2348181pgp.219.2023.11.17.11.31.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 11:31:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=coNfcDQR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 847F78098431; Fri, 17 Nov 2023 11:30:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346178AbjKQTaO (ORCPT + 99 others); Fri, 17 Nov 2023 14:30:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346184AbjKQTaL (ORCPT ); Fri, 17 Nov 2023 14:30:11 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E6B3D4E for ; Fri, 17 Nov 2023 11:30:04 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-408382da7f0so19471195e9.0 for ; Fri, 17 Nov 2023 11:30:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700249403; x=1700854203; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=S/VFXQyC/uHK3jgeZHFzLlSxky95FXvt0ibC3wwB25I=; b=coNfcDQRGsQ5oPJP8GxpskUayy5/XQGJDSjMJt1o0sFCFYiOAHk+8wS/cDoeXsozVC bME6mfzxz0DZycL8mX/6dIm5LIEWjOmRzh//NoW+TRNAUrxYaQqOOhkucn9VMpWPiNTI 1v7Rs9QR1TpXiir9tQxq2XkZyv1QWPhU5QLsuCThdNFTreFm0ban+E4t/l89bhJUjo6M qEEgNBiwyyLMcwXJcahinicjC91ZWig1rxDmtG7qTPRMPfIucTzvHzOa8N1IQaqWtndg tGN+HjEcvAhLUL9xdEMTRf4HzawKBGGS4+SkObOE+njd+9BikaUoo4q3S3Q8prSc25iV LM0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700249403; x=1700854203; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S/VFXQyC/uHK3jgeZHFzLlSxky95FXvt0ibC3wwB25I=; b=rFTG3Me9ohYGqcap1bcxf/2WllwchygrteAGvoxuNYeiKQtDqy8ORBAJzCPPLdOz+e j3DlhE0ePar8lmBMkahSQFdQw1IAMXwePoFy7tBBPpFrcBQqfAwcfIRP/lovNxceGpQw MR3m7ecIWI6BbIC5LgcKcm7mqoBNZEKHSZyDrRF0E6tlagEfG2MKTzSAKw1/3evVJmwt pymORnfmJ1ica1XVOcbqTJW94ZcZN68oTqizbMZZZ4XhSWc8RbPcDyAfmv58n0c++TCV aiFwqvLyO5R6/92TUaJb4gMj+WvHgOA+p7h7nQIep3X1K+WGxBO5579uB3ZQWAO1/tGp 8MrA== X-Gm-Message-State: AOJu0Ywdvrfix4wuRdqFXuUF6brkB9a7Cp3BAt1qG+OCPWJ+iTJ8bXW4 4pgi1kZi6WJ5ODMc3b4ZY8o= X-Received: by 2002:a05:600c:4797:b0:3fe:1232:93fa with SMTP id k23-20020a05600c479700b003fe123293famr87569wmo.22.1700249402857; Fri, 17 Nov 2023 11:30:02 -0800 (PST) Received: from mfe-desktop.Sonatest.net (ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca. [174.94.156.236]) by smtp.googlemail.com with ESMTPSA id 22-20020a05600c021600b0040523bef620sm4440397wmi.0.2023.11.17.11.30.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 11:30:02 -0800 (PST) From: marc.ferland@gmail.com X-Google-Original-From: marc.ferland@sonatest.com To: krzysztof.kozlowski@linaro.org Cc: gregkh@linuxfoundation.org, marc.ferland@sonatest.com, jeff.dagenais@gmail.com, rdunlap@infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/7] w1: ds2433: rename W1_EEPROM_DS2433 Date: Fri, 17 Nov 2023 14:29:05 -0500 Message-Id: <20231117192909.98944-3-marc.ferland@sonatest.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231117192909.98944-1-marc.ferland@sonatest.com> References: <20231117192909.98944-1-marc.ferland@sonatest.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 11:30:40 -0800 (PST) From: Marc Ferland Rename the W1_EEPROM_DS2433 define to W1_F23_EEPROM_DS2433 to make it clear it is associated with family 0x23. This is ground work for supporting both the ds2433 and the ds28ec20. Signed-off-by: Marc Ferland --- drivers/w1/slaves/w1_ds2433.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/w1/slaves/w1_ds2433.c b/drivers/w1/slaves/w1_ds2433.c index e1e45ea1bfa4..6b04fdef2923 100644 --- a/drivers/w1/slaves/w1_ds2433.c +++ b/drivers/w1/slaves/w1_ds2433.c @@ -22,7 +22,7 @@ #include -#define W1_EEPROM_DS2433 0x23 +#define W1_F23_EEPROM_DS2433 0x23 #define W1_EEPROM_SIZE 512 #define W1_PAGE_COUNT 16 @@ -296,7 +296,7 @@ static const struct w1_family_ops w1_f23_fops = { }; static struct w1_family w1_family_23 = { - .fid = W1_EEPROM_DS2433, + .fid = W1_F23_EEPROM_DS2433, .fops = &w1_f23_fops, }; @@ -322,4 +322,4 @@ module_exit(w1_ds2433_exit); MODULE_AUTHOR("Ben Gardner "); MODULE_DESCRIPTION("w1 family 23 driver for DS2433, 4kb EEPROM"); MODULE_LICENSE("GPL"); -MODULE_ALIAS("w1-family-" __stringify(W1_EEPROM_DS2433)); +MODULE_ALIAS("w1-family-" __stringify(W1_F23_EEPROM_DS2433)); -- 2.34.1