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 B4D50C54FB9 for ; Fri, 17 Nov 2023 21:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346189AbjKQVRh (ORCPT ); Fri, 17 Nov 2023 16:17:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235797AbjKQVRN (ORCPT ); Fri, 17 Nov 2023 16:17:13 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 672712132; Fri, 17 Nov 2023 13:16:45 -0800 (PST) X-IronPort-AV: E=McAfee;i="6600,9927,10897"; a="457871004" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="457871004" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 13:16:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10897"; a="909530057" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="909530057" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga001.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 13:16:15 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1r46CD-0000000EuA0-00Ja; Fri, 17 Nov 2023 23:16:13 +0200 Date: Fri, 17 Nov 2023 23:16:12 +0200 From: Andy Shevchenko To: Andrew Davis Cc: Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl: as3722: Use devm_gpiochip_add_data() to simplify remove path Message-ID: References: <20231116223045.274211-1-afd@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231116223045.274211-1-afd@ti.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 16, 2023 at 04:30:45PM -0600, Andrew Davis wrote: > Use devm version of gpiochip add function to handle removal for us. Seems reasonable. Consider also to convert to dev_err_probe() (in a separate change). Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko