From patchwork Wed Jan 18 07:48:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13105844 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 56259C004D4 for ; Wed, 18 Jan 2023 08:21:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbjARIV1 (ORCPT ); Wed, 18 Jan 2023 03:21:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230085AbjARIUv (ORCPT ); Wed, 18 Jan 2023 03:20:51 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7DC96F8B0; Tue, 17 Jan 2023 23:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674028090; x=1705564090; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4xNa1gOUF5AxrOMYRZd3X+KrP42jd2ivX/meHUjRZ3o=; b=Rti2eXE9CYJtbLF0KjGkHg0yrrpzDr1m3H3EofXcCGDIvtlxsqLPE7Do H6ujt10loXWUPM+0xFLHsk8nuIzYH+L9KvXaENjPjMyexudghTJ9X6QS6 42P3ouywG2xtfYd1VXUfO2xsii/eHYtNap7o64uhkxmxDe2NCafhGKX4o Om1Nfpx0KknBZDNq424WcIx8VB1pFSc3RTDnhjBaoE9cPfkwFAPWG1Zpc S/PzTQVaTNl7kCl0tmMzzt7jSXpJAX1VyOqvgLYFqP49RPsI3khqq0P/E r0jYJ4GqsLsPyCQoQ9bZBaL6SzHS+bn5NRuHU4jJ4Quh9KQfqC4aTrv/c g==; X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="312800650" X-IronPort-AV: E=Sophos;i="5.97,224,1669104000"; d="scan'208";a="312800650" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2023 23:48:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="637171942" X-IronPort-AV: E=Sophos;i="5.97,224,1669104000"; d="scan'208";a="637171942" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga006.jf.intel.com with ESMTP; 17 Jan 2023 23:48:07 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 03C947C; Wed, 18 Jan 2023 09:48:42 +0200 (EET) From: Andy Shevchenko To: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko Subject: [PATCH v1 2/2] iio: core: Sort headers Date: Wed, 18 Jan 2023 09:48:28 +0200 Message-Id: <20230118074828.66155-2-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230118074828.66155-1-andriy.shevchenko@linux.intel.com> References: <20230118074828.66155-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Sort the headers in alphabetic order in order to ease the maintenance for this part. Signed-off-by: Andy Shevchenko --- drivers/iio/industrialio-core.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index 26e357f14db8..c117f50d0cf3 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -8,30 +8,32 @@ #define pr_fmt(fmt) "iio-core: " fmt -#include -#include -#include -#include -#include +#include +#include +#include #include +#include #include +#include +#include +#include +#include +#include #include #include #include -#include -#include #include -#include -#include -#include -#include +#include + +#include +#include +#include #include +#include +#include + #include "iio_core.h" #include "iio_core_trigger.h" -#include -#include -#include -#include /* IDA to assign each registered device a unique id */ static DEFINE_IDA(iio_ida);