From patchwork Fri Jun 11 15:26:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12315911 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 E03B2C48BE0 for ; Fri, 11 Jun 2021 15:24:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C2D9C613EE for ; Fri, 11 Jun 2021 15:24:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231757AbhFKP0b (ORCPT ); Fri, 11 Jun 2021 11:26:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:58626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231694AbhFKP0Y (ORCPT ); Fri, 11 Jun 2021 11:26:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E173B613FA; Fri, 11 Jun 2021 15:24:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623425066; bh=FBJKy5tann1grvl0yu2wQXYgMfNnyiJwMR2/bOESKWA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bAwktObW2fCA50iLbgk2UcalfzsIUH8kd6ISuGkQZnFtujvTMNuI3duF4UaUguvvg 24TWeZ8MrKnuLcQjF9vcoT0fjLHNAPr+bb36cj0TAAtAX+q6ymGj7FpIKt/53QzI/n QDYejhc2BXGu3xua5gD1d5TK91gaFrxnxFQVEtijymF/4R39E9Y0FgW0v4sEG4XMc8 644A6UbKv+jIne54Fa6m6kMSEfstG9LYY+C4lRHYZBYgFsXqa1XaSzfg/Yb75kUYNb YoTDNnYjiLpgmiNNFDNb4GcrRjmFagY+5bCSvW1GhWdJEKGyjmRrvT1osfOZb8IcpY dbqCRy9Lm0OLg== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Nuno Sa , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron Subject: [PATCH 2/7] staging:iio:addac:adt7316: Cleanup includes Date: Fri, 11 Jun 2021 16:26:09 +0100 Message-Id: <20210611152614.109361-3-jic23@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210611152614.109361-1-jic23@kernel.org> References: <20210611152614.109361-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Result of consideration of the output of the include-what-you-use tool. Also a forwards definition of device to avoid any ordering of headers issues. Signed-off-by: Jonathan Cameron --- drivers/staging/iio/addac/adt7316.c | 5 ----- drivers/staging/iio/addac/adt7316.h | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index ccbafcaaf27e..e81791ee182f 100644 --- a/drivers/staging/iio/addac/adt7316.c +++ b/drivers/staging/iio/addac/adt7316.c @@ -8,14 +8,9 @@ #include #include #include -#include #include #include -#include #include -#include -#include -#include #include #include diff --git a/drivers/staging/iio/addac/adt7316.h b/drivers/staging/iio/addac/adt7316.h index 8c2a92ae7157..a1f6324ead59 100644 --- a/drivers/staging/iio/addac/adt7316.h +++ b/drivers/staging/iio/addac/adt7316.h @@ -10,6 +10,7 @@ #include #include +struct device; #define ADT7316_REG_MAX_ADDR 0x3F