Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1190377rwd; Thu, 15 Jun 2023 07:28:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7njeweYi888SE6tW9ylI7A99YmLJyXYwULyogGvX7uI8RHGDzZiEU3WEegbsCAeB/yEOV2 X-Received: by 2002:a17:907:3d94:b0:982:74f5:a4e0 with SMTP id he20-20020a1709073d9400b0098274f5a4e0mr4643897ejc.18.1686839294224; Thu, 15 Jun 2023 07:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686839294; cv=none; d=google.com; s=arc-20160816; b=GaVMRl3TMHqII9jNre9r53T2Nut4Pq89bjbDSuvNPcKQfy/dUOVhSmh4YyM2/7QAVk 65orKTQP7NsmAhVcCEMl55rCyxfz/vTRIVCoMRbHbuDLztR9tlVDaL28sXnoFlypbQG/ fVSyDl/LxQ0MSWG8Q/G5TeZ83M42bnV5iIIJmxt5b/EJlhXc7kP9F6FOkBlRQlsdqDFW j8qneuWCnExhdWyI4KBpkKpqEr30rycxMctV3ZzKSWfopZiP/Qa6v6nJsTupILJaMa/J oPL3SpKLJ+OkQjDCBQRMO9xPggRR7mcHD/Sw+SQP9CK10EjoUcmnXxl0Uk/Kjr1yY6e8 ntag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=6I7oNB104lTEttVt2iOQolZMZPAWsy5D0ajvBCSZxXE=; b=EjRGozh47unIYcdCKa0yy83z40ghZ8tqngFWD4oDwozd0KSMrpOXL+fevqE/m21CRw A+GFCkg3L3HwGrxAr/RrEuJ/npYLtAUoSvtHdOh1fcI22hS3Knm95pRwRQIsCZiR3hBQ y8E3p22o+jhnL0HsURf7LKhyaIBVAlhF4/uVAMKMaAeN1OFoBs80XLftySUonAgnqkLl sUiBJqD4MLdfPlsCcqzwjPsvl8utnXm1tW71v5Zt5+Mkd9P4bSbRIl2BZzvRcRZ8R1yO PcK2aiJl26vqS58xLmlaXwN7WNLgsjCXh6W2MInKB3QBumc3dokxHqWlpzjMkfXMrEmr 9mBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=lRH5r5ul; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a1709060e0f00b00982a96c6d13si718008eji.441.2023.06.15.07.27.49; Thu, 15 Jun 2023 07:28:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=lRH5r5ul; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344686AbjFON5N (ORCPT + 99 others); Thu, 15 Jun 2023 09:57:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344208AbjFON5I (ORCPT ); Thu, 15 Jun 2023 09:57:08 -0400 Received: from forward500b.mail.yandex.net (forward500b.mail.yandex.net [178.154.239.144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E89472D63; Thu, 15 Jun 2023 06:56:30 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-90.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-90.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:5310:0:640:bece:0]) by forward500b.mail.yandex.net (Yandex) with ESMTP id 46B385F203; Thu, 15 Jun 2023 16:56:13 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-90.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 9uc1t51Wxa60-ZnkmKTAD; Thu, 15 Jun 2023 16:56:12 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1686837372; bh=6I7oNB104lTEttVt2iOQolZMZPAWsy5D0ajvBCSZxXE=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=lRH5r5ulr7gfVWjieHmuPXZ7WdQmf5Ht2VvwqHw1gKXwIVbXfP5SlXaNBECAJs6a/ NgdO5xWp49jxBZId5SsiLaLX+FGnKRiceqAkaZINCodiM6ki9CeiPhUa9sC+B9QvP9 UswOktkK5mFu17xMo94YBL9g0ZFfHG9tUzUiSbag= Authentication-Results: mail-nwsmtp-smtp-production-main-90.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me Message-ID: Subject: Re: [PATCH v1 01/43] gpio: ep93xx: split device in multiple From: Nikita Shubin To: andy.shevchenko@gmail.com Cc: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Hartley Sweeten , Russell King , Lukasz Majewski , Bartosz Golaszewski , Michael Peters , Kris Bahnsen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Date: Thu, 15 Jun 2023 19:56:10 +0300 In-Reply-To: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601053546.9574-2-nikita.shubin@maquefel.me> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.3 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-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