From mboxrd@z Thu Jan 1 00:00:00 1970 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 A96D5C41513 for ; Fri, 11 Aug 2023 14:04:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235925AbjHKOEH (ORCPT ); Fri, 11 Aug 2023 10:04:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235816AbjHKOEF (ORCPT ); Fri, 11 Aug 2023 10:04:05 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 639742706; Fri, 11 Aug 2023 07:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691762640; x=1723298640; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=pQh6BC501td+I1bhxOE+ftaZXJZP+zZbEaizIBhZluQ=; b=kxYST/kExaHio4mKlqpUnxvZpawIPSaCOrU1hiTFLbtPOYFPFeBVF9nM 1rNw2gyWAV4Rzq0bdHkKx9uYDUw8OwjrJQnD8VhtREjciA3U2VvBHPCWH dEjRkx4WwozyZeIytgoblD+gFNjTKyF5+c7bQpmMRVnuc800R3/Agn7lh apQS0gHKHDCTJIAK5kOSprmYnePwpvVVJJaa+p12GBn+NeG07PDe2HGGM LxC6XkuLM1OnKuvJAkIyDl8gx/Ltl86nIGo1+EPj4EKA9SvbpijNknIrc 499ND7ByAy1TheftqJ8wQQ7aHhsiKxDMd5nITvbl7Og2isXjGQjixImUI g==; X-IronPort-AV: E=McAfee;i="6600,9927,10799"; a="402653408" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="402653408" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2023 07:03:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10799"; a="1063331365" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="1063331365" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP; 11 Aug 2023 07:03:26 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qUSjc-000MmV-2b; Fri, 11 Aug 2023 17:03:24 +0300 Date: Fri, 11 Aug 2023 17:03:24 +0300 From: Andy Shevchenko To: Bartosz Golaszewski Cc: Linus Walleij , Kent Gibson , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH 1/2] gpio: sim: simplify gpio_sim_device_config_live_store() Message-ID: References: <20230811131427.40466-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230811131427.40466-1-brgl@bgdev.pl> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Fri, Aug 11, 2023 at 03:14:26PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Simplify the logic when checking the current live value against the user > input. Reviewed-by: Andy Shevchenko > Signed-off-by: Bartosz Golaszewski > --- > This is the same as what Andy suggested for gpio-consumer. Let's save a > line. Right. -- With Best Regards, Andy Shevchenko