Message ID | 20230718002836.118268-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1431396vqt; Mon, 17 Jul 2023 17:48:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlEIr7Zgd0xd+hGABS5xE9zdBZqiYyesJ7N8GCEL3UzGKj2nKRBcU2BVCeQNNFWkEcNC/+Ir X-Received: by 2002:a05:6a21:7899:b0:12b:2170:7b13 with SMTP id bf25-20020a056a21789900b0012b21707b13mr1306101pzc.16.1689641279718; Mon, 17 Jul 2023 17:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689641279; cv=none; d=google.com; s=arc-20160816; b=1DtUXNg95obwQfXpYroQYZDBi4jsHHuYO4y1Cr7jKJiPEDpKmnlTe/vp/LL3Hh757H O1X8KNyTSQ1W6z98TbcjASHjgd2a2mMjcavND1gQ0juzQHh0W3czp1wc5k8Ss/TIgeKP xN6SaFcNQ8cX1Cg2opm/eBCgTp6bszkY7tEiDXWJLZgXgCGqpiRda4j5RRvXWw/7/rYm cBj+nfnuhU8KPKuH+ma7g7fWPLJGXsUL3DvcHJqSa5KzUdjdwK1ETXVn1VexaBGPFCMp eKJx4P7Bid8BKd0PulhYiQD+IT8e1PZhumndweSwr6W/k6uSkkUrcg4QNWGlACPH7a37 1o0g== 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=aEEJELAnqinJQ9et5UOi+NSp4KZvQxhPDhc4mr/e7AM=; fh=y6CIKsv+m38Kc33V+2zKKORyRCpTFifM8X3Es9Ws47E=; b=p6OIJANjFn0ts18ODTUic8xuOZMhbHaH593Q44K4/cyCyvjphDnPVP4jDmeLD0d3KU zPV4VIxizuc7H04hA2wTu91iCFxLGePoloKWzOE+NBbSUhI7p5qurlTC/13J+/er9NeK 4KsPlK7FDEGTkkdAcnm/7eK1RRnyhx0eIeQTkKFtRrlRIarnjeLz8OUsQ+vR+Pa8NInt LwDRRrwoifmSwmiSZQJ4WcQ6mtHSKFdWIsNxmGMaruJRGtwujzqG6q9JGATbBa32V8V6 DAWj2fPhXoQ9xF4jZ9vGPw8oER/r/3UWjKhUaZ+qRCndd19QAe+M7rd9LijwXegRTefg mJfw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kb11-20020a170903338b00b001b89b5a460esi648179plb.405.2023.07.17.17.47.47; Mon, 17 Jul 2023 17:47:59 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230412AbjGRA2u (ORCPT <rfc822;daweilics@gmail.com> + 99 others); Mon, 17 Jul 2023 20:28:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230291AbjGRA2t (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Jul 2023 20:28:49 -0400 Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EDE610C4; Mon, 17 Jul 2023 17:28:40 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VnfMp9j_1689640117; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VnfMp9j_1689640117) by smtp.aliyun-inc.com; Tue, 18 Jul 2023 08:28:38 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: jdelvare@suse.com Cc: linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH -next] hwmon: Remove duplicated include in lm75.c Date: Tue, 18 Jul 2023 08:28:36 +0800 Message-Id: <20230718002836.118268-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771717294698810148 X-GMAIL-MSGID: 1771717294698810148 |
Series |
[-next] hwmon: Remove duplicated include in lm75.c
|
|
Commit Message
Yang Li
July 18, 2023, 12:28 a.m. UTC
./drivers/hwmon/lm75.c: linux/of.h is included more than once.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5900
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/hwmon/lm75.c | 1 -
1 file changed, 1 deletion(-)
Comments
On 7/17/23 17:28, Yang Li wrote: > ./drivers/hwmon/lm75.c: linux/of.h is included more than once. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5900 > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Already fixed in hwmon-next. Guenter > --- > drivers/hwmon/lm75.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c > index 72cdc405a3b0..bcfa8193e5e7 100644 > --- a/drivers/hwmon/lm75.c > +++ b/drivers/hwmon/lm75.c > @@ -14,7 +14,6 @@ > #include <linux/hwmon-sysfs.h> > #include <linux/err.h> > #include <linux/of.h> > -#include <linux/of.h> > #include <linux/regmap.h> > #include <linux/util_macros.h> > #include <linux/regulator/consumer.h>
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 72cdc405a3b0..bcfa8193e5e7 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -14,7 +14,6 @@ #include <linux/hwmon-sysfs.h> #include <linux/err.h> #include <linux/of.h> -#include <linux/of.h> #include <linux/regmap.h> #include <linux/util_macros.h> #include <linux/regulator/consumer.h>