Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp294375pxj; Tue, 1 Jun 2021 22:32:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDb+sfM2INC7x841nz8P0oUNTFx0/a+KHWLG6ShrtuSafAC3hfYybYfMYrOPBIdXA1lG9u X-Received: by 2002:a17:906:7052:: with SMTP id r18mr32332557ejj.449.1622611956764; Tue, 01 Jun 2021 22:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622611956; cv=none; d=google.com; s=arc-20160816; b=z3jB8nODIcQe0WxbrqRaOA+DkPzbLY3NJt1D2RDih6luc5AAnBNVzfHHWs+exafOGe tm7Y7a36Po4aU6ah/i2QPJbF2Rp+g7LtlDYuFlHvY02NeNM4KeTj9+neaBzzYV4zHtdT 2EZuFBwKoLwB2qWUqAUtTxQi1O0ryLrEdxyTHggWx4rVE3oUry0CXfC9rTvz5T191GOC E3Tn6c5SQK6IZ+Xt0/gSpviCT30JSuKNjGMP263VUXtu6h1/EFBTRv8QgBaBiZ5hW4sj j96Jn7D5z46OU93GoaQDa0gwQ9EwlJZ75jXh43e/z8wzGdJAEUs+xv+OAFLJPiQ8oC1j W54w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=8LgtaoPGs9CgMY8xNCe2yvmelmih5N8W35bzG2xmolU=; b=vLY8r6AkCZTa1K2tOuTVJjy20kC2HACjFj8P1gf8iG50Q6K5kPGV0AlFDgGDrtOkhO 4lYJZy8OmMM+nGb2aIJba0f9dM7iMhorOnAnHnArieMob58nuMbsUns18dK+1OuaufFx GW8XCbn7M1gc1BoBtNlXiOaHJIgVkosxZ9r8SzhjzCM7pz61Z187BlEKJMmBxKuxmsKk 1Sb7CJf25qI/5dPsy/T7A16GFLUzypzPLlAJIrf68UUxf/ErcQp+wvNVPrxDhTmvzf5v lsK55QvHJHBT9GTEedFPVzzRcxYfLZjp/RRIiP91r1i1amNcnqNv6z9S9MoynzNbjaoJ sqBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si9305813ejd.313.2021.06.01.22.32.13; Tue, 01 Jun 2021 22:32:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229764AbhFBCIi (ORCPT + 99 others); Tue, 1 Jun 2021 22:08:38 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:2942 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbhFBCIh (ORCPT ); Tue, 1 Jun 2021 22:08:37 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4FvslH3gBHz68xw; Wed, 2 Jun 2021 10:03:55 +0800 (CST) Received: from dggpemm000001.china.huawei.com (7.185.36.245) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 2 Jun 2021 10:06:53 +0800 Received: from [10.174.178.95] (10.174.178.95) by dggpemm000001.china.huawei.com (7.185.36.245) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 2 Jun 2021 10:06:52 +0800 Subject: Re: [PATCH -next] soc: imx: gpc: add check for of_match_device in imx_gpc_old_dt_init To: Fabio Estevam , Jacky Bai References: <20210601100256.70030-1-tongtiangen@huawei.com> CC: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" From: tongtiangen Message-ID: <3b50ca69-5482-a6a0-cf29-6898dbd61b26@huawei.com> Date: Wed, 2 Jun 2021 10:06:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.95] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm000001.china.huawei.com (7.185.36.245) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/6/1 22:04, Fabio Estevam wrote: > On Tue, Jun 1, 2021 at 7:11 AM Jacky Bai wrote: > >> I think there is no chance to pass 'invalid of_id' and 'of_id_data' to the probe function. >> Such check seems not really necessary. > I agree. The only way this driver can probe is via device tree. > . ok, there is no problem in practical use. thanks all. >