Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2751618ybl; Mon, 19 Aug 2019 07:03:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwy9Z1Mti3mk2AGC4bMPVddth4sn9lOTe32e6PtodkVdFhJHarcAc/hP6HPpULKMYvoAPKU X-Received: by 2002:a17:902:8e8b:: with SMTP id bg11mr21203891plb.93.1566223426570; Mon, 19 Aug 2019 07:03:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566223426; cv=none; d=google.com; s=arc-20160816; b=AmEn7srqKaveU4u6UEDlA/4cXgDvRWLFK2ahU0Zrj90VrVNtSOzsc6m7wR32Sb83dq hDUCu6JPFuMqs8lsZT0p8QYZC/L0coBOlOp99Z+qd8cfL3f5kRgz8s2rfAKbHqObIDxE ecKrgQrlwJJNSgKXf7oj7Cb4ZrdEvl9NBOIrRkEA5nnCdGOBOvQ4kcBdCSpUTUqiCJNj aWUDLgzEVdHe8Ecu15xtUXIQbma443XW/Hmzp7Sie4Bvq+DuDr2Z4KU3Bn0192pjQIft g7PmEJi69ljGug5wJNY9+1AGUND/7ZFgG2YxnlZrAaqgGnMNhKOYDu2o5aeTKX9iJrGf bhRA== 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=jVgWyfwh3DFFBSBvPWE28F27h1CfoutZzZUgQq+jAik=; b=H6lSSobxXPY2IWBrFzLyUwteby711GifHXLEPajwz0vnZn3FCbOOAElrcCXVuD18DF jWPsdVibj/o2CjypBZhI70ktQD4TEyEoX/6fs6rmTBKDM7aPRFDCZkUlD/arUobmalGc XUiuL7Ol4xMvjSGWlb7h/AAccKI5/7mVDDs29Fg/Nr4eaTi2gY08GzskGSyVlgB0Msfh XJoVycqUSwV/IrMSomathFCZxrggq/1qD2bb6b9Px0nVfa/NP4TeNKwq7MXnUZlB8UYg duiS1uyAIzfWsxPlXzXdVt8OOCVFCH1cd7IhicswhB58OwzuODBuCM9EBJ9/6gT/R0BE xtAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=BYJgNmKl; 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 v11si9815368pgr.237.2019.08.19.07.03.29; Mon, 19 Aug 2019 07:03:46 -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=BYJgNmKl; 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 S1727774AbfHSOC2 (ORCPT + 99 others); Mon, 19 Aug 2019 10:02:28 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:33526 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727529AbfHSOC1 (ORCPT ); Mon, 19 Aug 2019 10:02:27 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190819140226euoutp01aab7079f7ef90b4be29acd260c9225a4~8V9XH_aOZ1481314813euoutp01d for ; Mon, 19 Aug 2019 14:02:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190819140226euoutp01aab7079f7ef90b4be29acd260c9225a4~8V9XH_aOZ1481314813euoutp01d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1566223346; bh=jVgWyfwh3DFFBSBvPWE28F27h1CfoutZzZUgQq+jAik=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=BYJgNmKlDl1UgIDktTWZkfincciHXaJNloevc2qD0jGUxEGTbpG1HJuIqcIW7Ie/N WK9hDmJB+3mYAsm5Z5rg4aHVK4FXEgLm6zIRBxO60VAFn3RdLSMk1eCF25Txe9vt7N VoOxREo5c/VoRwkgFRd3aNYGxpUvShNwlKJzOcjs= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190819140225eucas1p13d915e6b8251ee484c7d1b0b9bbdbca9~8V9WoHy-b1971019710eucas1p1B; Mon, 19 Aug 2019 14:02:25 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id F7.E5.04469.1FBAA5D5; Mon, 19 Aug 2019 15:02:25 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190819140224eucas1p2f31f721b2ba3bcc3f561c9ee7236422a~8V9V1fEAB1286512865eucas1p2a; Mon, 19 Aug 2019 14:02:24 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190819140224eusmtrp2fbefb65aaacdc43ea3f7d34d472b9793~8V9V07Wfx3080230802eusmtrp2X; Mon, 19 Aug 2019 14:02:24 +0000 (GMT) X-AuditID: cbfec7f2-54fff70000001175-4c-5d5aabf1a5e3 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 8D.D4.04117.0FBAA5D5; Mon, 19 Aug 2019 15:02:24 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190819140224eusmtip11f2a1b73203fe1055117a8fd78c48298~8V9Ves0B_0431304313eusmtip1-; Mon, 19 Aug 2019 14:02:24 +0000 (GMT) Subject: Re: [PATCH] fbdev: sm712fb: Use dev_get_drvdata To: Chuhong Yuan Cc: Sudip Mukherjee , Teddy Wang , 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:23 +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: <20190724131744.1709-1-hslester96@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEKsWRmVeSWpSXmKPExsWy7djPc7ofV0fFGjz4wWVx5et7NovZh14y W5zo+8BqcXnXHDaLA6enMFusWbKH0YHNY+esu+we97uPM3k8v/+UzePzJrkAligum5TUnMyy 1CJ9uwSujNe/1jMXHGWqmDg/pIGxh6mLkZNDQsBEonFnI5DNxSEksIJR4v2GsywQzhdGiX07 2tghnM+MEuvuzGWHadl9+ShUYjmjxPfPG9ggnLeMEv/vXwOrEhawkHjf/BPMFhFQl/i8aydY B7PAbkaJlQ9fsYIk2ASsJCa2r2IEsXkF7CS23ZoIFmcRUJXYtm4KM4gtKhAhcf/YBlaIGkGJ kzOfsIDYnAKWEr0zQTZzAg0Vl7j1ZD4ThC0vsf3tHGaQZRICy9glft7byAZxt4vEp+0XGCFs YYlXx7dA/SMj8X/nfCaIhnWMEn87XkB1b2eUWD75H1S3tcTh4xeBzuAAWqEpsX6XPkTYUeJC /zU2kLCEAJ/EjbeCEEfwSUzaNp0ZIswr0dEmBFGtJrFh2QY2mLVdO1cyT2BUmoXktVlI3pmF 5J1ZCHsXMLKsYhRPLS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SKapBnm9kti/LZdpgmb/sTR1 x+mK1/if84VfC+O1zvdQqv/rYrVgT+sql02f533ys+q2OydvfqylPzLqzJNXkZk+YrNTvzjX rLXgairg+KVj/FDm0NfDjmd6KxeX/WyVcfyyJvO87O2lR27vrt31/KASS3FGoqEWc1FxIgBK i/amxgIAAA== X-CMS-MailID: 20190819140224eucas1p2f31f721b2ba3bcc3f561c9ee7236422a X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190724131753epcas2p421536b8d2d873766882bea0e3ea4f351 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190724131753epcas2p421536b8d2d873766882bea0e3ea4f351 References: <20190724131744.1709-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:17 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