Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2752105ybl; Mon, 19 Aug 2019 07:04:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwr+e/7A6Nl5My672nYd6m+4qqX1EU8O43HFCD7+bGGlor0nLvwuyeUg2pj6GRaEpmZ821 X-Received: by 2002:a65:518a:: with SMTP id h10mr17965011pgq.117.1566223448494; Mon, 19 Aug 2019 07:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566223448; cv=none; d=google.com; s=arc-20160816; b=DQpYDpSQpTUG0SxXn/jZHbk/81N0OYU9c6YMRIUcrRoVHJhbFiS8G5MdshvbbduJoT n7LmWLcI6Io95FgnpEbYgJ3zODAbq2E3ban5LwezwL3G4RPJAEtnwqsK9JWndHnwIAxC wSpe4b93DD6z8+y8WJ2guUwvlBYe7eugK9X9TNg4RZCVblWdYva+aU3xvpo/qB9CxTYn EIUphRFGqZl6ulflXjekTT62AOW55RWjKt1UAcK52jhrHJRgoBvvAt01u0Lk0zMvq6nh 49o+wTD1QrgHnBXwBT8JM9XK4Dw6l9uoKibL/y/UFZOvYIcljRTPTMwnnOfA52yV6a/D m1+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=f1rgvunrUpzZG+u9msffuBeFeKzI44ZL7IqCjQKLz1g=; b=O7LzdWXq/VwTfxbYAdpAKCLOeYDocD2aEjwx0WlsC6cI/Dy0pG8EpxNBFoDLqh7BaM 8TE1ztq05eWH96ATPDhKzvgSm8H7qUkMXF1LlK8BVIxZ02q3Xwo2oE3MS9UiLebL2zUe j0Qht3kT6VXlZq7ztYGHPrrtur5uuPz2M7dJodldyfI6YpokfeVUhq2sk+lSZ2Nucno0 1yP1eBNfVb+ZTHYcGrAjws9RKQbxZYudM99/2n7oCVkgwLtoBSMyl8swwOOFLNJxVu/g 0G0K1p3uwLLQPZyEnhOovnZXmzC4oHPWPy76bObkKufCrfz422M7gf9GjPFfKu0OJlq9 hOCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=BS+ZPiSL; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y15si3617044plr.199.2019.08.19.07.03.53; Mon, 19 Aug 2019 07:04:08 -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=@samsung.com header.s=mail20170921 header.b=BS+ZPiSL; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727801AbfHSOCz (ORCPT + 99 others); Mon, 19 Aug 2019 10:02:55 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:33798 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727352AbfHSOCz (ORCPT ); Mon, 19 Aug 2019 10:02:55 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190819140253euoutp01af64e2f282b34d23361ce410856688fa~8V9xFgEpo1554615546euoutp01E for ; Mon, 19 Aug 2019 14:02:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190819140253euoutp01af64e2f282b34d23361ce410856688fa~8V9xFgEpo1554615546euoutp01E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1566223374; bh=f1rgvunrUpzZG+u9msffuBeFeKzI44ZL7IqCjQKLz1g=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=BS+ZPiSLvr/UKV/wA6d6QlLz/+I3Et3XWkNZz5Msw8iZktjCtYPv4H8b6k/prHzsm hffnBmDZlGy3ZnnXevx+/b0sggjMzmp55QHXVRUkiAmBjDWz8S90l5hZLinbT+vHl1 AyozDdoFU3ruiQ1PZbK8r8p883bvRitZJRUnrxJ4= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190819140253eucas1p18901738995874ff56f1a7a54eb5cc7be~8V9wiC30_1977819778eucas1p1b; Mon, 19 Aug 2019 14:02:53 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 7A.F5.04469.D0CAA5D5; Mon, 19 Aug 2019 15:02:53 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190819140252eucas1p1fc087ca9ea3523ef448ce28498e5c977~8V9vny0e91976619766eucas1p1r; Mon, 19 Aug 2019 14:02:52 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190819140252eusmtrp237e6bc47d73c2522b328ce52d08b7556~8V9vnLW3c3080230802eusmtrp2M; Mon, 19 Aug 2019 14:02:52 +0000 (GMT) X-AuditID: cbfec7f2-569ff70000001175-b8-5d5aac0d2784 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 76.13.04166.C0CAA5D5; Mon, 19 Aug 2019 15:02:52 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190819140252eusmtip13065ddc10526edf8763b61a827a80dee~8V9vTZN6k0664206642eusmtip13; Mon, 19 Aug 2019 14:02:52 +0000 (GMT) Subject: Re: [PATCH] video: fbdev: aty: Use dev_get_drvdata To: Chuhong Yuan Cc: Benjamin Herrenschmidt , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org From: Bartlomiej Zolnierkiewicz Message-ID: Date: Mon, 19 Aug 2019 16:02:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190724131900.2039-1-hslester96@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFKsWRmVeSWpSXmKPExsWy7djP87q8a6JiDb5uZbX40NTKbHHl63s2 i9mHXjJbnOj7wGpxedccNgdWj52z7rJ79LxpYfW4332cyePzJrkAligum5TUnMyy1CJ9uwSu jNVTT7MXHGWqmHogqYGxh6mLkYNDQsBEYme7ZRcjF4eQwApGiSmLPrBCOF8YJXp3b2GDcD4z SrzrOQzkcIJ1tO17wgKRWM4o8ap3LSNIQkjgLaPE+p5oEFtYwFriw+cuZhBbREBd4vOunewg DcwCUxkltl84yw6SYBOwkpjYvgqsmVfATmLxhulgcRYBVYmzZy6zgNiiAhES949tYIWoEZQ4 OfMJWJxTwFJi0ooXYPXMAuISt57MZ4Kw5SW2v53DDLJMQmAeu8Scp9fZIR51kfhxPRbiA2GJ V8e3sEPYMhL/d4L0gtSvY5T42/ECqnk7o8Tyyf+gfraWOHz8IivIIGYBTYn1u/Qhwo4Sqw5+ gJrPJ3HjrSDEDXwSk7ZNZ4YI80p0tAlBVKtJbFi2gQ1mbdfOlcwTGJVmIflsFpJvZiH5ZhbC 3gWMLKsYxVNLi3PTU4sN81LL9YoTc4tL89L1kvNzNzECU8zpf8c/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Xzm05sjXiSki5/cOH2PQZx5mFJ17uMlhTcOeDcL7AypmdCQ6zTryZJU qziGHTvEJnZ/zfaPmnjGo+aVYO3+t77+ZS2bbieaLv58dmlTkRJLcUaioRZzUXEiAMxcGbDA AgAA X-CMS-MailID: 20190819140252eucas1p1fc087ca9ea3523ef448ce28498e5c977 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190724131908epcas2p473bd151e9c12b90d6dc9c4a39b522e3a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190724131908epcas2p473bd151e9c12b90d6dc9c4a39b522e3a References: <20190724131900.2039-1-hslester96@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/24/19 3:19 PM, Chuhong Yuan wrote: > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan Patch queued for v5.4, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics