From patchwork Fri Jun 11 14:22:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12315825 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FD5CC48BD1 for ; Fri, 11 Jun 2021 14:21:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 12F006141E for ; Fri, 11 Jun 2021 14:21:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231288AbhFKOXN (ORCPT ); Fri, 11 Jun 2021 10:23:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:48634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231180AbhFKOXN (ORCPT ); Fri, 11 Jun 2021 10:23:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6A54361249; Fri, 11 Jun 2021 14:21:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623421275; bh=OeF3ldj+rUhKR2/T5fYFD/rp/bRkG3K2w1Q0z1uPw8Q=; h=From:To:Cc:Subject:Date:From; b=OupZiZHZOId/g4+K73sUSaOJfqKsMyb5rZ/DRQaaI6tDAdDNo0oCiqCtZM4pzSi92 Dr6D9p6jvtgOW3QhIguBWdgmKBT7UBwRN9XKgtx5UV6bSuq4M04NO+wjDrAry5je9h fl0rsjxky2TmaMiH5LqnMTHczRR87ZLsXfr/WLBd4MSDhE6G8ylNWf0uoFYbfze0fW z1bEojQWQQ+x3iIC7zswkDH2v5UiTw98Vt4SeRBwkjR4H5nqXT6aoQnCs23OTMEX7F h1Dxe5jqmSO91Ha0JRifN8hxKHhUz6PhbZlslIIKKiQAiShWbjC+uILinLnmClclBL 5Q7OgyvzPv9LA== From: Jonathan Cameron To: linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org Cc: Jean Delvare , Jonathan Cameron , Guenter Roeck Subject: [PATCH] hwmon: (ntc_thermistor) Drop unused headers. Date: Fri, 11 Jun 2021 15:22:57 +0100 Message-Id: <20210611142257.103094-1-jic23@kernel.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org From: Jonathan Cameron The IIO usage in this driver is purely consumer so it should only be including linux/iio/consumer.h Whilst here drop pm_runtime.h as there is no runtime power management in the driver. Found using include-what-you-use and manual inspection of the suggestions. Signed-off-by: Jonathan Cameron Cc: Guenter Roeck --- drivers/hwmon/ntc_thermistor.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c index 8587189c7f15..18fd6f12ca16 100644 --- a/drivers/hwmon/ntc_thermistor.c +++ b/drivers/hwmon/ntc_thermistor.c @@ -8,7 +8,6 @@ #include #include -#include #include #include #include @@ -17,9 +16,6 @@ #include -#include -#include -#include #include #include