From patchwork Tue Nov 28 18:06:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13471521 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QrpdQzzb" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 468581710; Tue, 28 Nov 2023 10:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701195430; x=1732731430; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=x1R2I6yK8uz4+mMbjPb8Ix/gfVd6VyGXOdv4Zk2JJis=; b=QrpdQzzb/lbm1FhZLi9IYXqTrAdwKbXlQ06VGJoxnLk3nSp8DAiKBg32 8SidhsW+kOFtwmRtGwlAS43V+/cgNEwXUbM64J5li8svLKNpRdCoQAIBk Vp96q386Hdml0FZHWT4jO9XPVVPNqVyEKs7SxR4KUNwiY5eBai+DthKzE gheocV4vdR5jYdaz8x8D+DjeEhM66xSAHBQArp7S45d1mfPZBoTHNpFAX fTEy2QsgL1rBtkLqKZYuF7zqmnCCJ4ysCgJ4zZYcaa2iISXZOrHY7lOxA nOinB3dX8HDmhGyTkaVqNbsegql976AVMrHAMhG62a6S+9uTk4Djd8iRa g==; X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="11692051" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="11692051" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 10:17:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="797655089" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="797655089" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga008.jf.intel.com with ESMTP; 28 Nov 2023 10:17:07 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id F4009F7; Tue, 28 Nov 2023 20:06:57 +0200 (EET) From: Andy Shevchenko To: Guenter Roeck , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Eric Tremblay , Jean Delvare , Andy Shevchenko Subject: [PATCH v1 1/3] hwmon: tmp513: Don't use "proxy" headers Date: Tue, 28 Nov 2023 20:06:02 +0200 Message-ID: <20231128180654.395692-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20231128180654.395692-1-andriy.shevchenko@linux.intel.com> References: <20231128180654.395692-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The driver uses math.h and not util_macros.h. All the same for the kernel.h, replace it with what the driver is using. Signed-off-by: Andy Shevchenko --- drivers/hwmon/tmp513.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/hwmon/tmp513.c b/drivers/hwmon/tmp513.c index 8a7cf08733c6..849a8c3e1020 100644 --- a/drivers/hwmon/tmp513.c +++ b/drivers/hwmon/tmp513.c @@ -19,15 +19,19 @@ * the Free Software Foundation; version 2 of the License. */ +#include +#include +#include #include #include #include #include -#include +#include #include +#include #include #include -#include +#include // Common register definition #define TMP51X_SHUNT_CONFIG 0x00