Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5903151rwb; Mon, 5 Dec 2022 05:44:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf7K7HBKiR4xow5ZrBMvyls05VCEJqIWAoQFxXlg7urRffQFZStCjyJFUfzsUoYkOOUfiXJv X-Received: by 2002:a17:906:524f:b0:7ae:59dd:e3f4 with SMTP id y15-20020a170906524f00b007ae59dde3f4mr287684ejm.755.1670247892683; Mon, 05 Dec 2022 05:44:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670247892; cv=none; d=google.com; s=arc-20160816; b=FnSTiBEat4qt/tw1YYu4Z7SZv4uOv5W/mtfVI+gLK5MyaKcRet+tJvLiwhQ12z/O6Y vfK8BU8TUO6hDsp2uOnz82H9kNW2TQf/r3Rttq+egymReVtLIkW4r5TW7Utwj0xHHHna Y5k7zCBavRd4a8Y4xcTpcezCClVOYyy3vKanHp9OmRMdIwnb5xoS+VSnBqI1h0w2bX36 hlwcV5ZvqsxdhubW+7K4pFAG1V7a9NBHCShPj0pyZkYuHllCKLQ1T9AAhOBmmHFWtQdH KboEzSzpRcCcuU+prHtHOfm6z4itd/2fxXUnZT3TYn3YpnBVAC5ogAPeqDF9UwW32dy+ wKwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=J21nziB+alnfXLQIGF4RO+fcRFjD8wJ7m7wPfJ/HFYM=; b=jKY98lMy96B/UhdV8uFt751a+K/lEMQK/JJjwU4zNFAsx50ziyE0+4kPihqxGbXzDd G+202gid82iLzoEQPTJ0lO1ZVVXhoXoLyQHqZK67CLU/GPxGY7sNoVDaYf5A+gXoaetV FplG+BFitbHIAQGV6Ko0pIyK7wEHDRSuBSI6MhJn1gO/TfYLrKE7eUvvbdbvLWWGtOwB v/1nAtJdq6aqxj15LwrkPMtQ6/F/JeCHT3p9MqBiIUcekidv38xm566iaSfCek1wplAT /SEJL8JwewK7PlxKpW2NQU/WIC423ciPX9FJ9wDKWx01gtF7zHVOIcK2ox4nGgerur34 4myQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fwdNAPfE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a9-20020a50c309000000b0046751bddcf0si11197739edb.425.2022.12.05.05.44.31; Mon, 05 Dec 2022 05:44:52 -0800 (PST) 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=@intel.com header.s=Intel header.b=fwdNAPfE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231958AbiLEMxU (ORCPT + 82 others); Mon, 5 Dec 2022 07:53:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231652AbiLEMxS (ORCPT ); Mon, 5 Dec 2022 07:53:18 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A29521A212; Mon, 5 Dec 2022 04:53:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1670244797; x=1701780797; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=Qnk8evx1bCs9pSHx08fCvWXFHhwjrBycZptawhJUfPQ=; b=fwdNAPfE+X9eH+iUJobJdm8ost4sW/QaAHRDp96ZclhPWrTw0K3qs8L0 SRUN0UxnD8gQ6rMX+zahJXbZ71X3gckFsgNpYFL8SceBeeZO7BX1PqHSh 4JFT4caoia0y2GjNIkCJbUKdNh2JVnxUAfpaTQAJ2ZOtduTy2JvrlGnWK 5S6/JV1VdjQ5dksTPIGxVPp4M4o0uCdnJewsdGTgAhrx8a44ZyJ5Uf8Us 3ulriDt5+k41jhqokZCRe2bbG50UsTZtO7gj/l2bFBNeQitOcOGYHpVRC G4KCO/CkXiCmiWS/hnx3BA1ATYxbK5oacDxmfUsjUZ3ys2mvg+whnZsRN g==; X-IronPort-AV: E=McAfee;i="6500,9779,10551"; a="299765106" X-IronPort-AV: E=Sophos;i="5.96,219,1665471600"; d="scan'208";a="299765106" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2022 04:53:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10551"; a="752176970" X-IronPort-AV: E=Sophos;i="5.96,219,1665471600"; d="scan'208";a="752176970" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP; 05 Dec 2022 04:53:11 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1p2Ay5-004sPI-2Z; Mon, 05 Dec 2022 14:53:09 +0200 Date: Mon, 5 Dec 2022 14:53:09 +0200 From: Andy Shevchenko To: Yinbo Zhu Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , WANG Xuerui , Jiaxun Yang , Thomas Bogendoerfer , Juxin Gao , Bibo Mao , Yanteng Si , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, Arnaud Patard , Huacai Chen , Jianmin Lv , Hongchen Zhang , Liu Peibao Subject: Re: [PATCH v10 1/2] gpio: loongson: add gpio driver support Message-ID: References: <20221201123220.7893-1-zhuyinbo@loongson.cn> <35ff475a-e925-81eb-ffeb-448be43f59ff@loongson.cn> <899d9d4c-36e8-6a4f-4243-dcf16f9ef29f@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <899d9d4c-36e8-6a4f-4243-dcf16f9ef29f@loongson.cn> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 05, 2022 at 02:04:09PM +0800, Yinbo Zhu wrote: > 在 2022/12/3 23:41, Andy Shevchenko 写道: ... > I just compile it that it is still okay when remove acpi.h, so I will remove > it in v11. You need to address all review comments. I don't remember if I reviewed this, but there are a lot of contribution from your side to the different subsystems where I have commented on your code and you can check those reviews because some of the remarks can be applied to this contribution as well. Nevertheless, please Cc me in your v11 when you consider it will be ready. Note, you have approx. month now to make it better. Of course you can send a version to review before that. ... > and, I'm afraid I didn't catch your meaning about " > > what that "nice" container of the platform device for." > > you said is for following code ? > 144 struct platform_device *pdev = > 145 container_of(chip->parent, struct platform_device, dev); Have you seen to_platform_device() macro? -- With Best Regards, Andy Shevchenko