From patchwork Wed Feb 2 20:34:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 12733455 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76B95C433EF for ; Wed, 2 Feb 2022 20:34:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347243AbiBBUeM (ORCPT ); Wed, 2 Feb 2022 15:34:12 -0500 Received: from mga02.intel.com ([134.134.136.20]:57185 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347204AbiBBUeK (ORCPT ); Wed, 2 Feb 2022 15:34:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643834050; x=1675370050; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kaGF4zjlVjQH2cLghkyhdzSJMil11mI8Tptz4ANS6PM=; b=PeFPqvOMau6M+KTflin2Se8vb+/drPSY4QCL6Ppb49C0kCO71vX3Dbzb TOK8vQL8WA+buDBoAvbZzP7QUM82FJy3u4pKEI5st+/Ivg18TRV/UnPwE guNVCLjWC5/J4e8TKk3QXbbvuGrXxe0NobjM9l/2trcqxtsED45nxRrqV JeSSi1pvqdjPaQjZwRw6NeKCfi45MNXKGelFKybpfGi2Iv9+QC8gOiuZD W+PBrBFR23vIOrXadH43qkvWf2UXT7XXpWD0NoL7HRdzp9YFrRFAWjCHN o+ict0CT/MDJAzPV2tT9RX0x9gcugRmy4YNgHhS2G3ef4BTpIc/VBGbo4 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10246"; a="235414790" X-IronPort-AV: E=Sophos;i="5.88,337,1635231600"; d="scan'208";a="235414790" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2022 12:34:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,337,1635231600"; d="scan'208";a="627205583" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga002.fm.intel.com with ESMTP; 02 Feb 2022 12:34:08 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 7C5C23B7; Wed, 2 Feb 2022 22:34:22 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Cameron , Lars-Peter Clausen Subject: [PATCH v1 1/1] iio: humidity: dht11: Switch from of headers to mod_devicetable.h Date: Wed, 2 Feb 2022 22:34:20 +0200 Message-Id: <20220202203420.56654-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org There is nothing directly using of specific interfaces in this driver, so lets not include the headers. Signed-off-by: Andy Shevchenko --- drivers/iio/humidity/dht11.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/iio/humidity/dht11.c b/drivers/iio/humidity/dht11.c index 9a7819817488..c97e25448772 100644 --- a/drivers/iio/humidity/dht11.c +++ b/drivers/iio/humidity/dht11.c @@ -11,10 +11,9 @@ #include #include #include -#include -#include #include #include +#include #include #include #include