Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2229697ybi; Thu, 4 Jul 2019 07:13:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1XnuBKMUVEjWJVNn+ZFwerLz8DWIY+eNRI6tu1xDmFSr+b+moccTFseUbcg9zK9UyI2rq X-Received: by 2002:a17:902:8548:: with SMTP id d8mr41434857plo.100.1562249616433; Thu, 04 Jul 2019 07:13:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562249616; cv=none; d=google.com; s=arc-20160816; b=Rf+y2rKrWn/3fMEH+cSLBsAp2LJwd/ozYV6OHgVwTXYaikMDCzdZ2Y9Kz97VbxbX6D nzKqhM3DbZOLd9u6Ix37lihCMLUaJp/CEuyk4qzNLNsmtvAnETQj4qJAAdv+9kinlXb7 BbIeCycOVicfF89UJDxW05SaIVAYZWKdANVBHHB0NLtoPiWGsQyJuC1F6f6ZA5AuDsA0 kc+7kAFHnbspv7gApKPKNKCMU58BF4262ok9GFVGl3N1ytpg/w1yu5nazUVGIq4ExOTH JPGSsueEWGd0YtJi4UjlKJ70Y8mGwZW4wtPICsoqCt1793y/M5SaW5c2hxHXd8boCMR7 BgQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RwjzuKWAb+6lrK93GKCiLTg/Hx2Y3ZoRRbWD2cO622U=; b=VX0y1NdEQiNBrjdg3Sp27h5iTtmoqTwqia6ceY6sbFjivE1i1BT1/0qv+naBD6+vAO RO7W0x1a4urfVB6SIiV4EIND7UKJOiIwTXXlvDsp6eED65rap2kvL857e7aS/EVggVCk W147UtTOu5tuDbnZWTlkteATrvvVVBsCFmZEVs62Z9h083qJ5/4D9Fx8ktkqr97AZS3J 5ptQZ8JuDc44I9+V+LyF/NPvxvk5P49BrjZNycAyP4OcMgL8nknxMjae30ZzxOa7MKB5 n9HXgqFm9B7RG9Lep5bYSDWyI52DirUwJ5YPaMXg9KgCVqiwwbqWFKnRZ+LvwRtTg5UT +3Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eyl34Yv8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id u192si5813011pgb.77.2019.07.04.07.13.20; Thu, 04 Jul 2019 07:13:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eyl34Yv8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727298AbfGDOMQ (ORCPT + 99 others); Thu, 4 Jul 2019 10:12:16 -0400 Received: from mail-vk1-f172.google.com ([209.85.221.172]:44394 "EHLO mail-vk1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726875AbfGDOMQ (ORCPT ); Thu, 4 Jul 2019 10:12:16 -0400 Received: by mail-vk1-f172.google.com with SMTP id w186so646046vkd.11; Thu, 04 Jul 2019 07:12:15 -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=RwjzuKWAb+6lrK93GKCiLTg/Hx2Y3ZoRRbWD2cO622U=; b=eyl34Yv8nX2KUyU4Fz2gdHGh6L+62UalJ2nIsVtaOpKgXSDHi7opEv3U5Yzg/59msm PnHxUWlp9USlqhzSE0E2TbyMn4cMd5mm/UQw5rbieQxZSfI2433j7KlaWK+95M95Xp/V Sv2VgS14C2Dsqipw12Cx/oR0vpLaEkN3TMsRE0PKTPmkYvmQvdOmE1mBFdWdj2fn1zfM 3/BkK3rgoGe9bZSWtmpiuf5trPShc5Bw/yHu2vV+yDpreZba+MIZ/DdCCPCtGIg/O6WF LBPj2NIkS8S5aH7FT+S6HdQzPX+IGGjWN+GUa5jiH6/EHbXvFYkBBsTw9CKZ8/o3/vtQ YyxQ== 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=RwjzuKWAb+6lrK93GKCiLTg/Hx2Y3ZoRRbWD2cO622U=; b=exlTx/douHJdzsQoFyaJZjUM3lDhx8SVzFaLHXBET7e2TBK55itd6N914VgfwixIrA RFQeoPYR1sNzesewJbOeOhEbykAoxIOCbtL0P6ptd4BiwL9Dji72CY6eNk+TzDfAkfOQ wQdpYOIaFspj1Cq7saA7YMlo7A2rHIKZBb1zjgCkG1/Jk9jCszLKrFXfSfW1yRl1bnce Ypx/utk3jU/TJig1CjDT0F5PwRUVAjntGFiE6pnRnUis9q1ujnmkC21BaHE+B+O6n8Nx lYAwq0UdWws0h37ZHbHygdePcigMzPaAmy1EGRleUTwzZwgABbw7m/laaF8ETvMHGAxf MWGw== X-Gm-Message-State: APjAAAVPGx8PcIXY+XiCHiKDkBoRgk/nrC4A+pnoTMU1OducNQz0FReq MmaCrtrU2nkiMEdakAExsWvSnVWPz8m4t+v2s44= X-Received: by 2002:a1f:2242:: with SMTP id i63mr8314223vki.69.1562249535108; Thu, 04 Jul 2019 07:12:15 -0700 (PDT) MIME-Version: 1.0 References: <20190704023546.4503-1-huangfq.daxian@gmail.com> In-Reply-To: <20190704023546.4503-1-huangfq.daxian@gmail.com> From: Emil Velikov Date: Thu, 4 Jul 2019 15:12:23 +0100 Message-ID: Subject: Re: [Patch v2 02/10] drm/msm: using dev_get_drvdata directly To: Fuqian Huang Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm , "Linux-Kernel@Vger. Kernel. Org" , ML dri-devel , Sean Paul Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Jul 2019 at 08:26, Fuqian Huang wrote: > > Several drivers cast a struct device pointer to a struct > platform_device pointer only to then call platform_get_drvdata(). > To improve readability, these constructs can be simplified > by using dev_get_drvdata() directly. > > Signed-off-by: Fuqian Huang This patch is: Reviewed-by: Emil Velikov I think you want to add Jordan's ack-by from [1] -Emil [1] https://lists.freedesktop.org/archives/dri-devel/2019-July/224928.html