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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E87EBC433EF for ; Fri, 12 Nov 2021 15:07:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C663F604AC for ; Fri, 12 Nov 2021 15:07:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbhKLPKO (ORCPT ); Fri, 12 Nov 2021 10:10:14 -0500 Received: from mga03.intel.com ([134.134.136.65]:32298 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbhKLPKO (ORCPT ); Fri, 12 Nov 2021 10:10:14 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10165"; a="233088111" X-IronPort-AV: E=Sophos;i="5.87,229,1631602800"; d="scan'208";a="233088111" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2021 07:07:23 -0800 X-IronPort-AV: E=Sophos;i="5.87,229,1631602800"; d="scan'208";a="453174293" Received: from smile.fi.intel.com ([10.237.72.184]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2021 07:07:22 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1mlY92-0068RE-6L; Fri, 12 Nov 2021 17:07:12 +0200 Date: Fri, 12 Nov 2021 17:07:11 +0200 From: Andy Shevchenko To: Bartosz Golaszewski Cc: Linus Walleij , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List Subject: Re: [PATCH RFC 2/2] gpiolib: check the 'ngpios' property in core gpiolib code Message-ID: References: <20211111202506.19459-1-brgl@bgdev.pl> <20211111202506.19459-2-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Nov 12, 2021 at 03:48:34PM +0100, Bartosz Golaszewski wrote: > On Thu, Nov 11, 2021 at 9:47 PM Andy Shevchenko > wrote: ... > Will do. Just a note: some drivers that parse the ngpios property will > need to continue doing it themselves as they have additional > requirements from the value (limited max value, needs to be multiple > of 8, etc.) on the read value. For those that are obvious, we can > start converting them after this patch lands. Sure! No objections from my side. -- With Best Regards, Andy Shevchenko