Message ID | 20231228-hwmon-cleanup-include-v1-1-e36f65aee1f0@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-12775-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp2100648dyb; Thu, 28 Dec 2023 08:35:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzI5rURdxIEDxo/qnqn/2aFrck3Y7ZMFDcjjnou7yLOgvkKtv1ym3qKA5YTT7XjoDzGFAO X-Received: by 2002:aa7:d7c1:0:b0:553:9a7f:aef8 with SMTP id e1-20020aa7d7c1000000b005539a7faef8mr6839369eds.63.1703781357885; Thu, 28 Dec 2023 08:35:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703781357; cv=none; d=google.com; s=arc-20160816; b=lxumlMDtIw5yB2UEkguPQLSCnKAkGUyJDvMMCj3lciFDgnZABjPyMKXs8ioynMtQS5 Tv3otru0DYl2ibJ9EKnjJlyT0SxGU6u9i+ZStv1dJek79JCIYh6D9C1N/4pddoqWRPf8 BQeZkF8HXXsFdnukgkRJM2l1OR9i4EBHyDXTAQjOB8jVDQrXpJdkLhCcsX6wG9/T8aaf fb+DXuNaJzTuH9ymJqKD8BfwS+BZT0L0v9JjwXVxPRmqTOTFsPSCUGAbppIuya+ipAhE MRAcPCYec3Zb/T4es/3ll/y6JkU5xNJ7d0wu2xZvQJJTP6DJuYv7K7hdfnZSxiVO06NY JaIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=3caCpG8ZH7oZ0hpaYqweYRqw0uIE1xXMGccjPUq7ZSA=; fh=VCvMhEx24mgsX4tsiDAOfM+VWPChmPGE/r3aivXS3SY=; b=HcykPcfDI8iePDcy7FiyGC6aId/ShmqFwkEAy4WGUWwSrQ9SIX6zdR32+5PB3E00qP nYfLPPDVAfOsRZe0ovHyPgwdRjVhiOXcLmoo+VoV3Xog20J6lxByz0y/qMjLHyoGUuxC 6dXLGhDvITFN6Zxk0PpAjgp1SxDFZU03r5KS7q3izYoo35ttcLK7IuNKlbmaet4dzBUs TT8RWO6tzBWv2EjoVhQX/ntmx7ajEYDGBH67oxzfUR5XUDl+k9q9Xmk/R2J09acGPLDQ n3DBlzhmtPHn3JlX0nEqGSjRyrQMF5Z/Kd01QrO++tyKB/OjJBa0jzEQsUoYyl4yaE2a ciRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mmDW+lEO; spf=pass (google.com: domain of linux-kernel+bounces-12775-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12775-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c97-20020a509fea000000b005559a581b5bsi560923edf.219.2023.12.28.08.35.57 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 08:35:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12775-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=mmDW+lEO; spf=pass (google.com: domain of linux-kernel+bounces-12775-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12775-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2E5AE1F2435E for <ouuuleilei@gmail.com>; Thu, 28 Dec 2023 16:28:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34F80F9D3; Thu, 28 Dec 2023 16:27:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="mmDW+lEO" X-Original-To: linux-kernel@vger.kernel.org Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 136A0F9C1; Thu, 28 Dec 2023 16:27:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 4B9EAFF803; Thu, 28 Dec 2023 16:27:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1703780855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3caCpG8ZH7oZ0hpaYqweYRqw0uIE1xXMGccjPUq7ZSA=; b=mmDW+lEObBDog5+me+9C3G2cufszFJbvy0pA/1Y+aaHKqxgabulg+UKMTRKQ7IrGplee16 dgwMCpgitB5XBKneeC6mKPxZtijzHlBcYau+4faXejwNZ050PUnh5dKWziwyciS4DtenHO DcTB5QZBq/tTPXNyKfKb0i71XMdp2BD9cHrmz7/HMh2paSeeyANAMT/e8A76Nuq0ojPmyB qsss/aaehG2T7ZaPblAfDxy1xzEd8e6G1SAEUeYp98O7H6UtlbpJYctL5KyHYbDKtnOnYy 63QCuGZAxkUns21Y55Nazrzkq614JAafghXdcykbG+AInXQpNY+JoLn5RxsMbQ== From: Luca Ceresoli <luca.ceresoli@bootlin.com> Date: Thu, 28 Dec 2023 17:27:16 +0100 Subject: [PATCH] hwmon: (lm75) remove now-unused include Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231228-hwmon-cleanup-include-v1-1-e36f65aee1f0@bootlin.com> X-B4-Tracking: v=1; b=H4sIAOOhjWUC/x3MSwqAMAwA0auUrA1oKiJeRVzUGjWgUVr8gHh3i 8u3mHkgchCO0JgHAp8SZdOEIjPgZ6cTowzJQDnZgqjG+Vo3Rb+w02NHUb8cA2NdMVFfWlvaClK 7Bx7l/r9t974fiYoQ5WcAAAA= To: Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli <luca.ceresoli@bootlin.com> X-Mailer: b4 0.12.4 X-GND-Sasl: luca.ceresoli@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786544241149237694 X-GMAIL-MSGID: 1786544241149237694 |
Series |
hwmon: (lm75) remove now-unused include
|
|
Commit Message
Luca Ceresoli
Dec. 28, 2023, 4:27 p.m. UTC
Including hwmon-sysfs.h is not needed since sysfs code got removed from
this file in commit 08b024338166 ("hwmon: (lm75) Convert to use new hwmon
registration API").
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
drivers/hwmon/lm75.c | 1 -
1 file changed, 1 deletion(-)
---
base-commit: 0882168ccf0a8d7a7e61fceb610dcfb196e4724b
change-id: 20231228-hwmon-cleanup-include-86e22b433436
Best regards,
Comments
On Thu, Dec 28, 2023 at 05:27:16PM +0100, Luca Ceresoli wrote: > Including hwmon-sysfs.h is not needed since sysfs code got removed from > this file in commit 08b024338166 ("hwmon: (lm75) Convert to use new hwmon > registration API"). > > Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Applied. Thanks, Guenter
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index 5b2ea05c951e..dbabef2c2402 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -11,7 +11,6 @@ #include <linux/jiffies.h> #include <linux/i2c.h> #include <linux/hwmon.h> -#include <linux/hwmon-sysfs.h> #include <linux/err.h> #include <linux/of.h> #include <linux/regmap.h>