From patchwork Fri Jun 9 08:33:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raag Jadav X-Patchwork-Id: 691009 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 2310CC7EE2F for ; Fri, 9 Jun 2023 08:36:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240815AbjFIIgA (ORCPT ); Fri, 9 Jun 2023 04:36:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240740AbjFIIfy (ORCPT ); Fri, 9 Jun 2023 04:35:54 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 196BC2712; Fri, 9 Jun 2023 01:35: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=1686299735; x=1717835735; h=from:to:cc:subject:date:message-id; bh=L+c/KWYlHq0/2ccQsnp0j8wUQJh9tHwhKAkllrU2WJg=; b=DSvd64wvp/q0abNjV8bEk34AYd96ngwaLsnG5yzvy9SkMd2bBLgOWyjb /hQemFapH5rXKci+/7e8VpzPvII8Jix+S/+XCiSnAoxcvBVePZUcZABqE SlvHhF4NN9zaepAGtIsi3tzbTnGJgeDC4MLuaSAgq+e2eO/+McUkkFJCz 1ipZIz8oku0anuLZvPxMIpAW0P9bk8MqVKtjhQX8jcw2DECV0HzmBKM9f YPe+t3A0b1OF4x0iKuWqSWIMKIsNLO1RoSAnNqNH5NM10VBEPMvP66JYk 86gchEN1l2vj6v4ZlCdUlgh2Sy1lgiMfvTb4+U+c5BAGqHMPjCa/abhIh Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10735"; a="355041497" X-IronPort-AV: E=Sophos;i="6.00,228,1681196400"; d="scan'208";a="355041497" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2023 01:35:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10735"; a="660690487" X-IronPort-AV: E=Sophos;i="6.00,228,1681196400"; d="scan'208";a="660690487" Received: from inesxmail01.iind.intel.com ([10.223.154.20]) by orsmga003.jf.intel.com with ESMTP; 09 Jun 2023 01:35:07 -0700 Received: from inlubt0316.iind.intel.com (inlubt0316.iind.intel.com [10.191.20.213]) by inesxmail01.iind.intel.com (Postfix) with ESMTP id AB139911E7; Fri, 9 Jun 2023 14:05:06 +0530 (IST) Received: by inlubt0316.iind.intel.com (Postfix, from userid 12101951) id A5267B6; Fri, 9 Jun 2023 14:05:06 +0530 (IST) From: Raag Jadav To: linus.walleij@linaro.org, mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, mallikarjunappa.sangannavar@intel.com, pandith.n@intel.com, Raag Jadav Subject: [PATCH v2 0/2] Minor improvements for Cherryview pinctrl Date: Fri, 9 Jun 2023 14:03:54 +0530 Message-Id: <20230609083356.24849-1-raag.jadav@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This series implements minor improvements for Cherryview pinctrl driver. The optimizations are as tested with gcc 7.5.0 with default -O2. Raag Jadav (2): pinctrl: cherryview: simplify exit path of set_mux hook pinctrl: cherryview: simplify exit path of gpio_request_enable hook drivers/pinctrl/intel/pinctrl-cherryview.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)