From patchwork Wed Oct 25 18:42:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 737898 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13693286B1 for ; Wed, 25 Oct 2023 18:51:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QP1lsWlI" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19D19DC for ; Wed, 25 Oct 2023 11:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698259895; x=1729795895; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DsRoRBNKoqw/Cc7dTmkqie/fv1TrhPx6ZfTLpdADeQM=; b=QP1lsWlIEzIyTZLA3k4MMUQ5D2E2ekDphc61eEvKAGqwNL5Dt471Dk14 VX9Y0M5HOyfDlrlxH7sIpFQzqfZam42qbaa5mA6CAXuqGSKYDH4O6f7Ve ocX/Lmg8vS8qY9DnEZ91STlbgCpNX02y3layPrfTyWS3k6mr7Ll8kbCJZ 9Or9NpCZypA9tFD0EIKI/WCFOUE4yi85NIunG6pih/pqw2u6xfqQKjKzM 0jYaQrYYJ4oKY+Y2j0O0duMN5q6YIYairngSCnu/NscUcOnm/2voW6fw9 ASRRhFgkje8+tOCqT36e5m/ULxrWLGFj1zEp8bJEM/jyLYEF3SM9OLd5g g==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="176173" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="176173" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 11:50:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="902642576" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="902642576" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 25 Oct 2023 11:48:03 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id EABB12F3; Wed, 25 Oct 2023 21:43:01 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Greg Kroah-Hartman , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , "Rafael J. Wysocki" , Rob Herring Subject: [PATCH v1 3/3] gpio: mmio: Clean up headers Date: Wed, 25 Oct 2023 21:42:59 +0300 Message-Id: <20231025184259.250588-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.40.0.1.gaa8946217a0b In-Reply-To: <20231025184259.250588-1-andriy.shevchenko@linux.intel.com> References: <20231025184259.250588-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There is a few things done: - include only the headers we are direct user of - add missing headers - group generic headers and subsystem headers - sort each group alphabetically Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-mmio.c | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/gpio/gpio-mmio.c b/drivers/gpio/gpio-mmio.c index 66308b165a0d..71e1af7c2184 100644 --- a/drivers/gpio/gpio-mmio.c +++ b/drivers/gpio/gpio-mmio.c @@ -40,24 +40,22 @@ o ` ~~~~\___/~~~~ ` controller in FPGA is ,.` * `.......````.``` */ -#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 "gpiolib.h"