Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp625181lfv; Tue, 12 Apr 2022 00:20:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX4Ly0GY6wZErW0ThvexrIQvldZvNmhDHfs0MZG1TnjW9ZMTY/CqpL5YdD2n0a14YEngSE X-Received: by 2002:a50:c316:0:b0:41d:6fdb:f3db with SMTP id a22-20020a50c316000000b0041d6fdbf3dbmr15274615edb.315.1649748031735; Tue, 12 Apr 2022 00:20:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649748031; cv=none; d=google.com; s=arc-20160816; b=An4tufzLTjVZIw4FGp0lnsreb+n5bBGypKjKhviVF2qy4RTcHynwIJZTfOqSgeFiSn VKGO1hHMx9IpXxdbZ9hCAY9YD8kTBo3riZodHFoZI4bZOD960e8MuGXpJhqxjcfZ/oGp 1d1rZaO3pIC6D0bRaSA7MewJjAUGogNxA5CHHaUOD23u28a5OJg7mtZUVFO9+EehwjcB lNUDx7imw1Kao4jr/Rqf9/DA68CBZnBp3Crh/+txDzpcSmcx3GE1/67/idTL6N9L2e0p OMHebartLPkose5dhYYlXWy+ppkH/193ZQhx/urSOyE6cj9Hc++jw716JJghyPonNgCP WZTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=ZmDnR4P0jms8okdjduyqjSplf8RRrDLwebVyvapStdM=; b=oPMdNYeJYBsn4WbXspEmayazJnthrIu7S2M7mBtM55k7tbZeXkUBXKuGVuVNvCaXNU Cp2yIKUW7bZscVVq0Z5+XCdMwAjNfExhyh1WrJ9cqzgNQsbat6THu3Wg/uJHgEoyldRh YHuz2798qRz7/d/NLbb6CfKeTr+aOLfoTqO76ciDGIj71l31R+m7RRgwv8Vz7Tg19yQN A/ti9roQL1OL/tCbXIYkiLv5n1OkKlfIpsgw/lti8GkXvSPcG4TRWPUw3lcVIfPQu/g/ 366GY1u0Y7MQefmO1Tt2CfCaYIUHmqGz8eXZWHonyk8Kxg+f0UbwbilMOIxMREHC0A0Z a/Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=q04HLZ0L; 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 hd16-20020a170907969000b006e0a811b828si12270410ejc.313.2022.04.12.00.20.06; Tue, 12 Apr 2022 00:20:31 -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=q04HLZ0L; 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 S237750AbiDHPqH (ORCPT + 99 others); Fri, 8 Apr 2022 11:46:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234655AbiDHPqF (ORCPT ); Fri, 8 Apr 2022 11:46:05 -0400 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16279939D4; Fri, 8 Apr 2022 08:44:02 -0700 (PDT) Received: by mail-ot1-x332.google.com with SMTP id y3-20020a056830070300b005cd9c4d03feso6364056ots.3; Fri, 08 Apr 2022 08:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ZmDnR4P0jms8okdjduyqjSplf8RRrDLwebVyvapStdM=; b=q04HLZ0LDH775/jL4wmsYosOew3eVyA130Ebf0Hjemgd1xc+/U9TEgVLcxnSj+ezGT RO27hWfcPYerNF1cbbls8Sr9SAh+TxGsBB5vzQtgJzwgPY3/6bbDTXS/390mSOa376IL D1fOnKZMFzAhy/G/TNlC65f0Er83SPQyuq9WJEkrd4TX5oE1QO1HT1IqsAjLdsIeD+81 tg9py5fSdk0FNoNl3T1IwxaoFKPkindCLVPjrPXS/zXO/IHCfRjamSo01YOBGKvsgz7V lnNK8C+O9nPZZBkM9TbDrJk1i9TaEEeKfJ5/iIOq0pAQq3DiUezlVTb6zyNJPZdR+65f lLaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=ZmDnR4P0jms8okdjduyqjSplf8RRrDLwebVyvapStdM=; b=XB1EHPbDgSWqL3mKSQvsEBQUf3BHe6xsvNlBENTeonHWbl2u1OnxvxJdbqd0QjMgLG XqhJsRZGW1ewXbRJyPbtypPPpCHG961G8Hg1K+PdqpC5P9LDuMyXMI1G7ToJlhauy59C BCwp7+BB4GdvLm8gBvcPX2Nf0T6on6gIzBULkeImSLZ+yzUsvLxLofvjDbPGR+R/BxmV 7yAFFn28nrd65oo9xZsFZu3h2omlXlll6mAS6NKTt5kxqk5mQWRLqutKpVIy8clS3Dqz 8DYT2Ma6Ivi+iGzSyU8U4rQxm2whluUX7+kZuESX53WXpX65LCu7i4j3aQY1o3rFlzyj 7Hhw== X-Gm-Message-State: AOAM533zrefyqUOTjwtltzqSBBIKpuLPShJPARNZLGdge1lftdCCVubV eeHvm+Ba8lNLsrwqIs45Ab4= X-Received: by 2002:a9d:75cc:0:b0:5cd:9f3a:6ee6 with SMTP id c12-20020a9d75cc000000b005cd9f3a6ee6mr6791592otl.10.1649432641469; Fri, 08 Apr 2022 08:44:01 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id v12-20020a05687105cc00b000e215a2e957sm5074156oan.17.2022.04.08.08.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 08:43:47 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 8 Apr 2022 08:43:43 -0700 From: Guenter Roeck To: Michael Walle Cc: Xu Yilun , Tom Rix , Jean Delvare , Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Paolo Abeni , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, David Laight Subject: Re: [PATCH v4 2/2] hwmon: intel-m10-bmc-hwmon: use devm_hwmon_sanitize_name() Message-ID: <20220408154343.GA105850@roeck-us.net> References: <20220405092452.4033674-1-michael@walle.cc> <20220405092452.4033674-3-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220405092452.4033674-3-michael@walle.cc> 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 On Tue, Apr 05, 2022 at 11:24:52AM +0200, Michael Walle wrote: > Instead of open-coding the bad characters replacement in the hwmon name, > use the new devm_hwmon_sanitize_name(). > > Signed-off-by: Michael Walle > Acked-by: Xu Yilun > Reviewed-by: Tom Rix Applied. Thanks, Guenter