Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp831953ybc; Tue, 19 Nov 2019 09:59:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzKI0ilXb9kaDkAhst61B8otdYUSxcNuBVEmwun3sRLiHBsWg5by5MdSGVSVr3+HQz1aRrV X-Received: by 2002:a17:906:7399:: with SMTP id f25mr37206663ejl.176.1574186344773; Tue, 19 Nov 2019 09:59:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574186344; cv=none; d=google.com; s=arc-20160816; b=AIqZYSHzd8r5lJ2caXfyBT9dPRHsfc9m70AylBxDKvz1P0CDeq4VG4dNgVerhtNbDO B5/GF5Y1TO7g3HqtO2k8L+3cfChGE5xXSNP1QOrPkqwm6PYGY0NF77RuKjRsq1gw37Ys yeOBOS2CGvbSuot+au9aEwroSwQZPH716N1dR5rol7/yFlPwNqOkjR57OThcEPeftiLb t0xyA7jC1BdhHIaBTTn6dAFDrGYjC+TX6T7AavV+qBNpca6uHTEIRnsl4upvyCVOS+G1 OLxp5S2fY26hEjmsnw3VdD+DOnV2YL7UQQ3cGVcGDlSudu1XjW4pUhzujwrvo8gO6AAR wBgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=hE4JDHRK861BEaxHD8zN8k/AnFytB/t2fHP0D+SmVyA=; b=r+s0uADb5uptCl/bKJz0wGYfs3dPZuRoTwMw4DbNLrHTxgF8bOjuaGTHLYVt/FABqj RBK6vty599d2aoFKc1WB/HW21bqeF6KYDUIKq2fAfB4s4aEdZlVb1r6uJgGers2kO4IE MIGvkrUym4qAg4Kj1+v9Y1aFRArlpF85EKl70beQo86g5Mnkhn8eoZLcncDkziRGPsAJ FIUZQFg27Swy7YaK25i+7cloh113rEj/pummqAzVjAy2vv37CZ1Jz9Mpa/uBXatIponc t8LmPoVHpKMKYcZmXtDdtCvE0kWRsL/FJKDu119etFE00wfnMzn9lxpFKjSyZIlYMFcv GDCA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o25si9625583ejc.52.2019.11.19.09.58.40; Tue, 19 Nov 2019 09:59:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727389AbfKSRya (ORCPT + 99 others); Tue, 19 Nov 2019 12:54:30 -0500 Received: from mailgate1.rohmeurope.com ([178.15.145.194]:60094 "EHLO mailgate1.rohmeurope.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbfKSRy3 (ORCPT ); Tue, 19 Nov 2019 12:54:29 -0500 X-AuditID: c0a8fbf4-183ff70000001fa6-55-5dd42c5123c0 Received: from smtp.reu.rohmeu.com (will-cas001.reu.rohmeu.com [192.168.251.177]) by mailgate1.rohmeurope.com (Symantec Messaging Gateway) with SMTP id F8.5F.08102.15C24DD5; Tue, 19 Nov 2019 18:54:25 +0100 (CET) Received: from WILL-MAIL002.REu.RohmEu.com ([fe80::e0c3:e88c:5f22:d174]) by WILL-CAS001.REu.RohmEu.com ([fe80::d57e:33d0:7a5d:f0a6%16]) with mapi id 14.03.0439.000; Tue, 19 Nov 2019 18:54:25 +0100 From: "Vaittinen, Matti" To: "linus.walleij@linaro.org" 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" Subject: Re: [PATCH v5 10/16] gpio: devres: Add devm_gpiod_get_parent_array Thread-Topic: [PATCH v5 10/16] gpio: devres: Add devm_gpiod_get_parent_array Thread-Index: AQHVnd2XL+xAnx6QeEuZbGk0ju43uqeSgwCAgAA1PIA= Date: Tue, 19 Nov 2019 17:54:24 +0000 Message-ID: References: <8dd9dad2765d47fd6c6fec20566326d00e48a696.1574059625.git.matti.vaittinen@fi.rohmeurope.com> In-Reply-To: Accept-Language: en-US, de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.203.185.189] Content-Type: text/plain; charset="utf-8" Content-ID: <0468ECED5D432047BC0A3EE8F832215A@de.rohmeurope.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01TfVBUVRSf+77BffZYUW6kTq5jjGCilTM3x0xrHJ+Vjox/NOkQPeK1S8Iu 83bXEW2cLUNYFnekEGRjIWBRZmFDUPxgcEJcDKiQVSAkkYF2KNAgSTSKsPd8Kfx1zz2/r/PH OQyu9dKRTLLRIkpGIUVHhRJNlf/Uvhi3qit+zUBFLPIEummUOXaSRvfd7QQ6PhikULApE6AS fweJHN+fJVHZ+AkS2e1ZJPq5/jSBWs8MADQw2QLQg64sDOVNn8LQvZzbJCo94iHQmZJpgG40 FFGo/u43AF2t6qKQz99Po4qfAhgqqmgl0PiEHUOB9i2ov72FQocDvTjKuOSn0UxPLYGcHVs3 LeWri6sBP96bQfPF1Qf5i65+mi9vHMH4Oq+d4m/1NFJ8ufNLkv8t5wrBP/ghl+CdZ72AHy6t Ifjves9jfEHxFMZXVj2k+T/rlu7kds/bkChY9u1K1htjN34wz3DqUi6W9teq/UeLb1I2EIzJ BiEM5F6Bt89/SmaDUEbLdQOY01lEqZ9WAL9ouisjDENxG2D2TVoRhHOvwiutRYTCwbmjGjg1 mk8owALubZhxwkeppHdgYbAQU+v1MGum6rEPwa2A5T9uVtostwP22QtoNesOgBn19bTCCeHi 4JjjTYUDuCXQbht7bINzEbBu+CGpDs1BT+M1XK0XwpFfZv7v6+C3LR24YoNzK2FNQ6wq3QSP H7lBqPUymOcYpNURwmBbYZA4Bha55iS4ZtWuOWrXHLVrjvprQHoBTBWSU/SCRVy7WhKtqyWT IVV+PjSl1gF19+5fAI+atzUDjAHN4FkG0y1kbaArXjs/0ZSUbhDMhgTJmiKamwFkcF04u2Oo M17LJgnpB0TJ9AR6jiF0EWzUYG68llOy9opimig9QRczjA6yU1GyaZgk6sX9HyWnWGZhjAlR zEMjw82iMUmUBKvFkKCsR4JZ3g8F0si556JlOWtOE1LlriptBzHMsRF3Gc743RVluJYwmoxi ZARrf0amcgrVYDU+DRoFEQzQLWCnFSONfIBPfUblCEyOqPVdVyIswiwUaQOeyx+vsHguv54P /d4G/2FD1OSjuIOdvpc0L2sP/H0h7P2sQyd97tKc7T3/Vn4yHGUl7eeWwD/0uz6fSDod1rbn +UCB843ozOV6W37J4qmveu+F9q0fuvXe1YtvOX5PfG2b49rOod171uXWCO867/z6wqG89M+6 +zau3OIeb9samEiLKdVM6gizQVgbjUtm4T9YqqrqPQQAAA== Sender: linux-kernel-owner@vger.kernel.org Prec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