Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp404609pxb; Thu, 26 Aug 2021 06:02:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzERRZeG+8TuFg5nMUiEWKQJZWOcXrfydM4DQlErWHGczh4YuxSm2fbS7Xt4P3+SV/6h+3J X-Received: by 2002:a92:da0c:: with SMTP id z12mr2531735ilm.205.1629982929806; Thu, 26 Aug 2021 06:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629982929; cv=none; d=google.com; s=arc-20160816; b=YITqNYK6u96F28NM0PX1EHMSBESAcfm9mKPFSzYFyaH6tFmezxApsgGP65g+P+O7m1 6FRmZDRv0Mm+H5YkLzFSc3nqAKCVkKNzEicetCtVWIURDqQ0Eqsq2gc7ANYeqrNL65ku /pnsp7M8cjUdYLCSITZFQBAqRpaqsoBZzdLS8W8nbd7GdKBwvRrfwN38MnZ02KBI3wHR 8GvAEMD22VXjvJEX/dbGhe6/duwD7hBR8Abc2+cHdxg7lBzKXTtBWR+54qYv9JAxmyVL ARh1g80rsZmWUVutnj+zE21msQaXxJkSLFcKwsuejD1fFAMy/ztfy9LWszH61eQy9Q4B qNYA== 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=ocFFaMnpP/NK5k6jGasl64HMse3t1Sh2zr+zn0SwV+M=; b=K8fqGu0sWPLrl53Sgj/bpVMUmWJVjeLi+tccR3Fbon76cjaflrS1ZqLllp8m9dFZBF z2/A2BSzV0pJLcmxNAQiSifi28EYR9c0nH4zbkYvTAjExIPw02IKP+BfWHvL9uporc6l 6kuAV9xzGLHAPFMCbsmbk23xY/AEF9ryohqX4PEIrltLG6wzW3/gVZJOkkP2IHWMdLGv UpV/m7gdu/z7fQVdom6yI+b2Y7jkpXVv2gAYfJfHX/cPPACbWgQ2lu09AqSQXWNIPj/5 2n3EjYtJbzqFxskW6tUAWAi6x+nzs52qR1Q7E9778JWFtw9IQ1J5GIfrNhfCRcpwykuI t9Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MKdgsD3s; 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 b9si2557913jar.79.2021.08.26.06.01.52; Thu, 26 Aug 2021 06:02:09 -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=MKdgsD3s; 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 S242493AbhHZNBC (ORCPT + 99 others); Thu, 26 Aug 2021 09:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242494AbhHZNA5 (ORCPT ); Thu, 26 Aug 2021 09:00:57 -0400 Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 344CFC061757 for ; Thu, 26 Aug 2021 06:00:10 -0700 (PDT) Received: by mail-vk1-xa2c.google.com with SMTP id g18so818801vkq.8 for ; Thu, 26 Aug 2021 06:00:10 -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=ocFFaMnpP/NK5k6jGasl64HMse3t1Sh2zr+zn0SwV+M=; b=MKdgsD3skHusjl9BNP/Q3G/9e20/iXnmW0VTMNm31s2zKx3/EqdUj3fwoNAsi/G3s+ yKi3kFV4DzuNUImg5s8PfOD6inHbj/5N00EC1fy4Ri6GislaYs0uFkucQ4RH8VIiiYX7 DhHWuH0bIeXdXtcPSDoXHWP0Sqpk5xbyYnbp0APV85I9EAwb+vVk96FFMvafuntQtd2v vwLei9S9sMdtlIe4yedOC4NjT04WjNkCCs6sEtGd+NYhjFioLxLnHVPSUNJwSi0R7163 YGqpBuy1DSNxcFHZTUk9K32tkPegiVCF6ojaIaIoiEFsu8Atywmy06oBOEA4u3P7EnCW 9Asg== 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=ocFFaMnpP/NK5k6jGasl64HMse3t1Sh2zr+zn0SwV+M=; b=PzWJQIzFx1Ecbc963n+iLstm2qQmHKpkm6flwBKRNbvq+ZNOSOWMrrpegMwxWBn0He 6WS7ZJ3TSi93s1AVJlPO2OeH+xI+sQM0tbtEsk01bsAD/nij0hty05c3LKljEbxkMNBV 9JL/O17qay+XNdGJzb58KfqzZZ5t0ifO6w8sIw9XIySqWiJ9zfJ9px9Ixn44d3IGfG+g TnubPFiJDkpEGjyYhy0BPQFtdrFgTff089pEr3mUWoOXvER2TIok97Nz/PUDL7CE9+iM yrBYmQcvVbQsSwZF1B2Aw9OmhV2gsbaIXE5SfWWvvxAnSwEJo4aE+7anRHDkuFagJIS4 TaHA== X-Gm-Message-State: AOAM532nX/cHXV/PZeZsSV/t4Yhl+sCMHp7ZhrbKMQe16fBL/RhptsLx UWpQS/xcrqBfdcC6IKi7HuN4sxVd6gyBho4W4OU= X-Received: by 2002:a1f:90cd:: with SMTP id s196mr1638807vkd.5.1629982808785; Thu, 26 Aug 2021 06:00:08 -0700 (PDT) MIME-Version: 1.0 References: <20210826121006.685257-1-michael@walle.cc> <20210826121006.685257-2-michael@walle.cc> In-Reply-To: <20210826121006.685257-2-michael@walle.cc> From: Christian Gmeiner Date: Thu, 26 Aug 2021 14:59:57 +0200 Message-ID: Subject: Re: [PATCH 1/3] drm/etnaviv: use PLATFORM_DEVID_NONE To: Michael Walle Cc: The etnaviv authors , DRI mailing list , LKML , "Lukas F . Hartmann" , Marek Vasut , Lucas Stach , Russell King , David Airlie , Daniel Vetter Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Do., 26. Aug. 2021 um 14:10 Uhr schrieb Michael Walle : > > There is already a macro for the magic value. Use it. > > Signed-off-by: Michael Walle Reviewed-by: Christian Gmeiner I will wait for v2 for the rest of the changes to review. > --- > drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c > index 7dcc6392792d..2509b3e85709 100644 > --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c > +++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.c > @@ -653,7 +653,7 @@ static int __init etnaviv_init(void) > if (!of_device_is_available(np)) > continue; > > - pdev = platform_device_alloc("etnaviv", -1); > + pdev = platform_device_alloc("etnaviv", PLATFORM_DEVID_NONE); > if (!pdev) { > ret = -ENOMEM; > of_node_put(np); > -- > 2.30.2 > -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info/privacypolicy