Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3288496ybc; Thu, 21 Nov 2019 06:16:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzXuu1knonPp8YBIRwF8C3EVMkvOmg2hIsnDvKVTyORPZyupNLCf2JmB1rjo0eRWNB5q2lr X-Received: by 2002:ac2:4945:: with SMTP id o5mr7553028lfi.93.1574345772512; Thu, 21 Nov 2019 06:16:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574345772; cv=none; d=google.com; s=arc-20160816; b=f6Tb0sQR3ZJu/tZJGfp6BIaSEdAB9f7x2+Rhtx/4detRggsIJaKdEYb//40jVhl06o XOlK8pBILtI+in/Tx83OHw3jw5Td3A7antdWJJXFxHEOnAUVfbALQSssTMcPrSflh8+3 YNQFZIvERIa7ITbgIamMRBSMImmRqQlD2dI0Bh2sb6x729+wEuwUDBNuVIjGKgN7Dho5 bF92oT8It9kNZclIRBa03wB34bcqFc3hHf/t39U8/fZL0RB8fqXnON+q68co7WRJE7F5 61gmAonFDW8w5hBx1b7GyE8VByrG55/nDveRHyfRoITB75OtazDrE7Fqb4yLaKVsyKuh 5DOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6JyZcuxmnqH9o3l1XIsdo9JoDg6orfPAOo4vV+1ArwI=; b=CZ/Iqc6XULktKg8EfFYr2dAW2T0UZ38ZvAjevIuJGt+OuBrXLmzkIDlpGOfL4Pyrvd iOL4VE2+KWjW8BV7tQv8KxOK90nnnrCjR6vdKxvKNmZ86hWMjtIhLth+wPKG2JVTOUsK PagZ1+uLw0mHRSet5oTJtxmrMwqWIb7gykAxfm28XZXiFxNNXLV3KpEPpt8/vrI7H1x7 tqinwcZWRmqWo0wNPEJD9QT7/5ZNHrualJIiQrgn4WBNyUcuUV4lZsvbjr3uV4amCMXp MPZoq16aKs6SsuqDsLMihExNPR30TEKaBLV9gcZw/8SKu0+FOjw4pLYLAV1S+XZRteCj apgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rrBHiUoK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o21si2062866edt.135.2019.11.21.06.15.46; Thu, 21 Nov 2019 06:16:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rrBHiUoK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbfKUONe (ORCPT + 99 others); Thu, 21 Nov 2019 09:13:34 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:42140 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726573AbfKUONd (ORCPT ); Thu, 21 Nov 2019 09:13:33 -0500 Received: by mail-lf1-f65.google.com with SMTP id y19so2750514lfl.9 for ; Thu, 21 Nov 2019 06:13:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6JyZcuxmnqH9o3l1XIsdo9JoDg6orfPAOo4vV+1ArwI=; b=rrBHiUoKWpM7JYxtbtpxA0m+4KENiEgkqrUsZmhr0SztUWa9GUvIt/JXaO0iFQRllZ t3wzjzr03SFpjcFQGnFj0y/UpVyUqyecuAW3vxE4lWRgvib88TaOl4LfTUkWVuMwstOc rVaLG+TK5EOxzs2vEIlhxL5ZIx/y9z9hGkS1GycaeyORQgAMz42kb38UDvW/4yFgHKwg mWjGFjw7UbrtvZtMwDsn43Fo5dHuTInhPJYUXXghPs2lxBPvZJceDwQaYZRs4EGrNi9c PVuTDWJPExc34WanbcJGVM0rfhNW78ycZ8o22Jb0KYITgABmMcdEUNWVksb8I1S9G1li junQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6JyZcuxmnqH9o3l1XIsdo9JoDg6orfPAOo4vV+1ArwI=; b=oTMJMK31pzBvgbfMZVH/YgUo4QD+5aMGRod7dE4/YtnfT4JYfW0hvE+FBDGII1n5ig hOh8Q5zokdtJATt1UDimuPI3M8q0ggQ5+QBuLlL0qBiLdeovV2uPaoOY6EqNnfBMDjj8 NSrJTozyA3KskL8BorMzBQQ8JVO5nE6SQMJ2TXteL/89N1ySU+OaRTiefeyehP+83aJn diI/er7uCxq4Iiy137ZJCQjTX9TSgdYhPjD4HubQNgZiKZker7MPpVK2WAo3XZPfyuLI w8y3F6F2e6l52XoCNoqm40qDGswl26mlh2FsMXtANFBveyNy425Lf112THNlMzRLVFBy xcUQ== X-Gm-Message-State: APjAAAUqImkuh+9Ttj3/suvTN+ybnn+ezOJu4XSJswBNpVfyZj+kPr8I ej+vjJjo2usz9j3ttlsnuWKzWmMlodPr/VXbb12fWQ== X-Received: by 2002:ac2:4a8f:: with SMTP id l15mr7859980lfp.5.1574345612125; Thu, 21 Nov 2019 06:13:32 -0800 (PST) MIME-Version: 1.0 References: <8dd9dad2765d47fd6c6fec20566326d00e48a696.1574059625.git.matti.vaittinen@fi.rohmeurope.com> In-Reply-To: From: Linus Walleij Date: Thu, 21 Nov 2019 15:13:20 +0100 Message-ID: Subject: Re: [PATCH v5 10/16] gpio: devres: Add devm_gpiod_get_parent_array To: "Vaittinen, Matti" Cc: "corbet@lwn.net" , "linux-doc@vger.kernel.org" , "phil.edworthy@renesas.com" , "linux-rtc@vger.kernel.org" , "dmurphy@ti.com" , "linux-leds@vger.kernel.org" , "devicetree@vger.kernel.org" , "jeffrey.t.kirsher@intel.com" , "linux-gpio@vger.kernel.org" , "mchehab+samsung@kernel.org" , "alexandre.belloni@bootlin.com" , "linux-kernel@vger.kernel.org" , "mturquette@baylibre.com" , "lgirdwood@gmail.com" , "jacek.anaszewski@gmail.com" , "mazziesaccount@gmail.com" , "a.zummo@towertech.it" , "hkallweit1@gmail.com" , "wsa+renesas@sang-engineering.com" , "m.szyprowski@samsung.com" , "mark.rutland@arm.com" , "robh+dt@kernel.org" , "hofrat@osadl.org" , "bgolaszewski@baylibre.com" , "linux-clk@vger.kernel.org" , "lee.jones@linaro.org" , "pavel@ucw.cz" , "broonie@kernel.org" , "sboyd@kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 19, 2019 at 6:54 PM Vaittinen, Matti wrote: > [Me] > > So what is this? NULL? > > Here we don't have separate manager device - thus the manager is NULL > -and the consumer device ("dev" here) is what we use to manage GPIO. > > > > > Doesn't that mean you just removed all resource management for this > > call? > > No :) > > > > > Or am I reading it wrong? > > Either you are reading it wrong or I am writing it wrong xD. In any > case this means I need to drop few comments in code :) Thanks. I was reading it wrong, so not your bad. I guess lack of focus on my side, this part is fine! Yours, Linus Walleij