Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3514500pxj; Tue, 1 Jun 2021 07:06:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHlXMv7A/SW9r1YT3y5kuFFHzC2Srj7UHi6iXcax1l60R+NEumAmA7gz+C9Sa8/SXLtxAm X-Received: by 2002:a05:6402:19a:: with SMTP id r26mr32251313edv.44.1622556378633; Tue, 01 Jun 2021 07:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622556378; cv=none; d=google.com; s=arc-20160816; b=P7q/BXeCALLbe6oPJeyrsAsEiEEOgtSHz/ByYiNaLQoS4Q5V75GUZPRrWgcpJ500Ke 0SwnUHDRrXTbzLIzM0WAmuMUohKc3hxWygMeIR1wstI/pWF0SfESb+/N40r3GqKb2lOi ND1e93GMH6JgcQlObg1c9rRlhM58p1LR5nJMvnXohIcbJgux+iWs6cibYpBd5cH2gJB4 PllmhpktrkBrODwry9ta4KOH58D5I1NgOm67ZbfHm3dF0GwjgdaSxLKmbVgVce/UVf9M wdfqAFUxM90dTzSD1IEwHndOevkwc8hyIl1kNQRBuTqKB1eS502eP4h86zqim82RRC+9 In9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+XU4vzQB0ErM5xzFAql1V2srdsu5siUWOeZiFIJbDSA=; b=TLEPgo3Rq+XvGYuaMSCU7pwQ79nfqHWWnr0+KcAxNYZ5NqfZeCSkaPaaN6JWNigAVM kknGKBF2eD+9UYkwDf/QP4YP0rEaEJIGVJZvmmB6vuLc1RZZpS9m+LPssKEJ7ZuBK406 KFvmPxN1oe5ITBgMMwANx+BJHD9jmsPiDHE9m1dOoVUfQT82hMTlAtPzWiRhbWP0QRbM PgD5LIRrlSgLc8WOg+thJvzz+oPAz3FMfoNyT3LE343NRP8kjD3VuuvPmIrG84vzIUEf deQLNVx5FUsElvNZYQY8zCayO/4Od7nat/nqkkyiJ2qUUeL7/rbnAAM/Q5+rOOYE/vRg SuxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JcB0QHJI; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si5356937edr.392.2021.06.01.07.05.48; Tue, 01 Jun 2021 07:06:18 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JcB0QHJI; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234016AbhFAOGR (ORCPT + 99 others); Tue, 1 Jun 2021 10:06:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233797AbhFAOGQ (ORCPT ); Tue, 1 Jun 2021 10:06:16 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13BCDC061574 for ; Tue, 1 Jun 2021 07:04:35 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id e11so19349488ljn.13 for ; Tue, 01 Jun 2021 07:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+XU4vzQB0ErM5xzFAql1V2srdsu5siUWOeZiFIJbDSA=; b=JcB0QHJIBgCBzrXdQPP0+QjfzfghPxqbxPHwiwO+hCfZfPsBImvk6i0AXxZrOWdjuq jdbvqPr1Eedlno91fEFLOwJViYUgwYveq2xzvYt1M4FFvpYy9uIXQbjP22n2AxsuGEJR whj7GrSsWLA8ehBOC0raOvp2VJ3drEIzYIerGCJ2lheLIi6jMryv1j/N2YNvauji/4jS 83MzvvjWzF4jX0scThsjgcgHl13Wr6sk+6k5vraUTIqgqy3npMz6aWX92hHJ1vV7HL5/ /oTrfPvU6OYc4zOHi+hQPd4GxDUVBHrpoHqFzpzJPzkwmmrjl42uLfCl9V8aErOk4Ubt 5RKQ== 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=+XU4vzQB0ErM5xzFAql1V2srdsu5siUWOeZiFIJbDSA=; b=haItE9Q0ZCRCM8f72H0mnnxSyeo2cdaviMpUahM5mzCrPrjNId83UoHcyk4Zdnpplf NWbaGWhV1IXNPPO1zn5xaMYwZgTiUiLfmhI6aTeeHeanpUFv/qk1nXxq3bMvTlKgRZdJ pybBM5V7IQmsDrenuyTKs2z3FalhqNgatOfxe4URUM1jfzHvXFal6bnqlm4R6MWtioiz fBtwtB/zY0wtyhw1+MZUG0ITa4RV2sLXZgRhStFk/vsLXoU6+rjD88DrcEf1P8yyq3Hb dtKFnE3oRGP0mGtfXqoJa8ZK5IYP5tp9/t++eJHTI6tVzP6eWz0au1evdJBJfYc026vk 7x+Q== X-Gm-Message-State: AOAM530yOxOuEQYeK8fLBWUkUpBlTMyWtGhfRTrFN5+6cE5F2bPbhn7N b2tAB+VkF9nD/C7Chs1AKklsLXU7Y6nsv2HfK5t3TiBnY7w= X-Received: by 2002:a2e:824c:: with SMTP id j12mr21271911ljh.490.1622556273122; Tue, 01 Jun 2021 07:04:33 -0700 (PDT) MIME-Version: 1.0 References: <20210601100256.70030-1-tongtiangen@huawei.com> In-Reply-To: From: Fabio Estevam Date: Tue, 1 Jun 2021 11:04:21 -0300 Message-ID: Subject: Re: [PATCH -next] soc: imx: gpc: add check for of_match_device in imx_gpc_old_dt_init To: Jacky Bai Cc: Tong Tiangen , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , dl-linux-imx , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.