From patchwork Wed Aug 28 14:23:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13781368 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3344FC5B548 for ; Wed, 28 Aug 2024 14:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=evNtBDYE7PzxWa+4Y8P6ddfxFX9sU/xoDsQaIoGQGcc=; b=TJdizfjgY8MTxjxnqPoiOg7bFQ 4V/nx8k8aVfkksOpXVORu+PQBm/MRtQZKrCqc8p1FORzw06oLrTeptDg5yBweaPoEq8V4q6UhdhH1 dmX5amhuQo9XEQe+hvfR4DllxmXVSIPmWN2CYGzWIeQhgZON5g+7gAD9vzgcMjBsJUa4MvMPIr9oH JOEhPrTplr3BpzS7gvCfbrG+qzvDamqy9xl01VserF26LmrRlXvp1TWi7/+19SN5Di/BrpONoG+MS b+cplA0/3g6ZI8bKRX41Ke9NkWugy3mtC8K6WlZKdh67S8LvIQrdRZGHP2deHBG8YJa+vGlo/0z1f f7oeTWYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjJde-0000000FjRs-1VtY; Wed, 28 Aug 2024 14:27:10 +0000 Received: from mgamail.intel.com ([192.198.163.14]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjJcW-0000000Fj5Y-0omH for linux-arm-kernel@lists.infradead.org; Wed, 28 Aug 2024 14:26:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724855160; x=1756391160; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ZqkdXmD9LrrwdNrSv7uvMPe7m3i56mY5PSRJljTNWbo=; b=Lug9jQPk8E4YseI35yUUKU/X0n9GGPj5Hu5Vv7gizz6BLe4JX9HxqgVV 6BtXGwR/vjWT8/bgmRUgGsxJcvDRob/zLSkw51TD37iJW98abiUM6pxKH ouQre8GuYWQ3EiB3DjqzbQFXv5Hx5T5gltFZLrNp/Ysi+NOPvKiXiDbKy uwpL54hJ+NFA+KRtobCTC2RipGx1w2/4wLeUgcRJlxwRr+L5N1kDKHxr3 zQ9w4x46/XXOCd8LIcr9vWh6tToKY73xgMZBplTd535UF62szO+i0QRxj 6x2VLs3mRE+Gi9eHJhAIyf4DaJtA1vzdEM0v4oxb2aiYQ/R3fOahpmuXG g==; X-CSE-ConnectionGUID: 209gHrlzTWO62lIo5iV81Q== X-CSE-MsgGUID: DOJrfbt8Q/encjAs6g4yfQ== X-IronPort-AV: E=McAfee;i="6700,10204,11178"; a="23575166" X-IronPort-AV: E=Sophos;i="6.10,183,1719903600"; d="scan'208";a="23575166" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Aug 2024 07:25:59 -0700 X-CSE-ConnectionGUID: QF9kZHv1TYaqjmOYb3u2wA== X-CSE-MsgGUID: DOIZP0CSSvCgVsefw9pDNQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,183,1719903600"; d="scan'208";a="94047451" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa001.fm.intel.com with ESMTP; 28 Aug 2024 07:25:57 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id F18F3143; Wed, 28 Aug 2024 17:25:55 +0300 (EEST) From: Andy Shevchenko To: Linus Walleij , Andy Shevchenko , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org Cc: Hartley Sweeten , Alexander Sverdlin , Russell King , Thomas Bogendoerfer , Bartosz Golaszewski Subject: [PATCH v1 0/2] gpiolib:legacy: Kill GPIOF_DIR_* and GPIOF_INIT_* Date: Wed, 28 Aug 2024 17:23:56 +0300 Message-ID: <20240828142554.2424189-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240828_072600_365248_3809F226 X-CRM114-Status: UNSURE ( 7.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Shrink the legacy API and definition surface by killing the (internal) definitions. This, in particular, will fix a couple of drivers that took it wrong. This is assumed to go via BPIOLIB tree as this is quite small series and most of the changes related to it. Andy Shevchenko (2): gpiolib: legacy: Kill GPIOF_INIT_* definitions gpiolib: legacy: Kill GPIOF_DIR_* definitions arch/arm/mach-ep93xx/vision_ep9307.c | 6 ++---- arch/mips/bcm63xx/boards/board_bcm963xx.c | 2 +- drivers/gpio/gpiolib-legacy.c | 5 ++--- include/linux/gpio.h | 12 +++--------- 4 files changed, 8 insertions(+), 17 deletions(-) Acked-by: Alexander Sverdlin Reviewed-by: Alexander Sverdlin