Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4174692ioo; Wed, 25 May 2022 17:22:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIpKafasdC6T9j4mLGfGYPjsNL0koCXx26kMmh5/vhd7F0Ig5yraM+KeBEfPJlGszhyB5o X-Received: by 2002:a17:902:7004:b0:161:f216:4f3f with SMTP id y4-20020a170902700400b00161f2164f3fmr28679471plk.98.1653524545569; Wed, 25 May 2022 17:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653524545; cv=none; d=google.com; s=arc-20160816; b=RGXakmO+CE8BePJ70oMIKIUzMko7or0O2FRdxbqygmigBzYFidWjjFwuQwg79fgCrW H9JG6Enf0d36B4d9eAmTlYaqN0Wh2FQ5VKBfIUdJFb5PN68gjEF7NMvUNU17/FPP1PMO BVKSuajqJv37YRk1Ivmxe0u0LVnOoaDM+LPCDsprcouwRGVA4H3qhxz8aczydiSsNvlk yhjPG5lPvudwHBWYuwmZhs4d/6HbdSRr1r5VfNYOtA0YgKvyMBzqXM7x4hU8CPAT6TDt BDS+V8wx0jboJ7KTwmqFBaeAYpdL8pitZSLGQ7qpfSxOARNQ/9YJ8vrH0dC0GKb7FsiL DEWw== 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:sender :dkim-signature; bh=rCKqXle6qbQe/IsqkcPkNDc9pAVJQLLMF9gxVrNillo=; b=CrJiAVBDth4G4uZWZp2BUbdGwEa0R4SR49GQMW3VtzyMczpiNYALkf4i8wXGAad4bm FKVMJOiPNZYS8vKp98f8EdF1GFqTPO2Pof+Znu0sKfCsexzkt7lBF6IZ7SI+4d8fbO48 3GuLIf4CV8ofcKvBbj4HrNg2dz1qxquGhqoycIGGcVCc1LYgKndbU8W6BrL/uP69+BRq EGoSJq2UlELmb6WRxSas0V1ZYi7dRTBj8vwbXOHXlno8bwvX6aClN3GoMzof1kjqjU1U ezNpCcLTImvKawjBlk1vJWJOsVC0xeLW4sDxh/k4+G18p13MHX1WEIeB+/1puw3oV49c 5ygw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MMOiqenK; 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 22-20020a631356000000b003f9f28d407csi579334pgt.89.2022.05.25.17.22.13; Wed, 25 May 2022 17:22:25 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MMOiqenK; 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 S244578AbiEYN63 (ORCPT + 99 others); Wed, 25 May 2022 09:58:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244543AbiEYN6K (ORCPT ); Wed, 25 May 2022 09:58:10 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB1AE9CCAC; Wed, 25 May 2022 06:58:09 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id w19-20020a9d6393000000b0060aeb359ca8so10969713otk.6; Wed, 25 May 2022 06:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rCKqXle6qbQe/IsqkcPkNDc9pAVJQLLMF9gxVrNillo=; b=MMOiqenKDsaYJpTEKcsULjVgVvfZ3EclXp5/kYdvBODxhGQ7ByFTwqLSMSILyYbD+w ttZ/Y0wG4s/5e0VTxmckFILltU6wsgF+qhqHu0sz9ddK3QtPDZ4DIAcFt5kfrD4mRLPl NugbqFtPlEH0q9OAMU+naq4DY1ZnyvcYYBnJRxAiPRqpVHyhINR3L4EDQVT7OiunYh4y aXWBruOmjU54tz2RMnUKjQIAu6C8O8hvFqIn79/MV4g5oTyVzHPN5xDM1+ePDNo2XYuH G1UWc+fyJTRYtOhVhM8+H471EfOcKl0QccX1Sh8o7+Ul5inMaJJpXSnRA+GWFYb+pkvc c2ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=rCKqXle6qbQe/IsqkcPkNDc9pAVJQLLMF9gxVrNillo=; b=4JUqW51s8+ChantkVHBYGHUoHAqz5+bmiRMEtQOaRcHOE4t1/BFe2tJGIJKEgxSbRa Tb3VdFLVPvmfDPOgVB6QRdFSuqX9cT2XmOvOUmdTW4Ry6qD00MaD+CFmJvC4Y9Gqdvo5 NLHE95qzp6voXGYbdTeD+K7FnNXegFtvuJNewGh+NCGA7127R15Avck5ZktFKvtbKXu1 nxfUjNipJi81+ofRsXN6/1g1wbR4HWI3ZkUtSwk/J9HwQTfkZMpd7lnyvyQ/X4tw0zM+ EFktWZkPt7Iy0UVwIQQ01R0ntygPgecjWDFMwpF2wHL/mK0bjKtfkFzlOHb62zdTYocQ PFuA== X-Gm-Message-State: AOAM533c9vyv6m+hP0CY6yaJKNgLqDb9IqrIfuunB2gZyGcyUA256Jnv KJYACuFk1PcAf5CiTxa6IYYCGPnyWkEGUg== X-Received: by 2002:a9d:6316:0:b0:606:9578:ffe with SMTP id q22-20020a9d6316000000b0060695780ffemr12410732otk.256.1653487088929; Wed, 25 May 2022 06:58:08 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id a3-20020a056870b30300b000f1b1645a3esm6049669oao.1.2022.05.25.06.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 06:58:08 -0700 (PDT) Sender: Guenter Roeck From: Guenter Roeck To: linux-hwmon@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Jean Delvare , Slawomir Stepien , Guenter Roeck Subject: [PATCH 04/40] hwmon: (lm90) Reorder chip enumeration to be in alphabetical order Date: Wed, 25 May 2022 06:57:22 -0700 Message-Id: <20220525135758.2944744-5-linux@roeck-us.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220525135758.2944744-1-linux@roeck-us.net> References: <20220525135758.2944744-1-linux@roeck-us.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Reorder chip enumeration in alphabetical order to make it easier to see which chips are supported, and to clarify where to add support new chip types. No functional change. Signed-off-by: Guenter Roeck --- drivers/hwmon/lm90.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index b7f5b743c9f5..6728520a21ca 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c @@ -113,8 +113,10 @@ static const unsigned short normal_i2c[] = { 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, I2C_CLIENT_END }; -enum chips { lm90, adm1032, lm99, lm86, max6657, max6659, adt7461, max6680, - max6646, w83l771, max6696, sa56004, g781, tmp451, tmp461, max6654 }; +enum chips { adm1032, adt7461, g781, lm86, lm90, lm99, + max6646, max6654, max6657, max6659, max6680, max6696, + sa56004, tmp451, tmp461, w83l771, +}; /* * The LM90 registers -- 2.35.1