Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3277202ybd; Fri, 28 Jun 2019 06:00:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnqCy7iIKOEpx0rkqN1kAz/nUSN8RWsyLDSFFMdeo3BQO1fEs/iUiBxxT7vvQ9CtzuvvrR X-Received: by 2002:a17:90a:cb01:: with SMTP id z1mr12956756pjt.93.1561726840320; Fri, 28 Jun 2019 06:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561726840; cv=none; d=google.com; s=arc-20160816; b=a72eJ3Bm9vEOgbRJ514gicXPUjzpXpaCF+DLv17qbKqw2u26cpHegFBgmyPt56lvjP 0pyJ08L6gvKU0Gks36iw3gI21nUAg/1AcfFQuJyoqE9G/m8qvPwW964zq3fSXqVvKkbi oFth0BY3jlf0cAynpeG8BVRGl6JZQY5/VqoYlqodExtcYKHli7gYwIYQ0MF+cFuuHnBt hunEMcw7epQYitot2IRSt9C2KuNZ2Pt47sweeLDANGfJoJlQp0QA0BECnJjm1F6Bs4ex ReeM0MK0efQvlGk2hrDcJnl5+45th30Yor5oHhxKLT6UzDJWAFMnLNrAFphJSpEoc1AD 53lQ== 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=8Hd3VfBJL+xbiJrjQF90ePIZxnBEv9M00xB5/OAyKPM=; b=e0U8OFi/x6ztClvNJ3IqAJHtdyTm7J9hf21nGXzdns70NBnUNRMUeXfORdf+KMPK3t NOPldFA6hdAU9X9KrD+kEMr7KHpsWytJhe7JgVdfBlxYMg9HcxlOrUi7wWaNfahDbdOf OkVRcUlCgHmeVcEbqq/qOt85AoAFCyOtt+Du5DcBHpp6I8y0CLaGZ8Le12WuB+U0khJ6 S8/CKK2j3ddresTeYn7/qa9Dx/iZ50m+cFxMcsTtYYHzUtzA9DPF2fMOKKmksZ+afmF1 vKXPvpw4aWh41XTURMUdfnDyRvXdjGhW8VVhlsk6gwsOd/7+FQ+M5Dl5ftR/Qh5cgfxB gkMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=FMI3ixGU; 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 w6si2225660pjr.100.2019.06.28.06.00.23; Fri, 28 Jun 2019 06:00:40 -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=FMI3ixGU; 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 S1726795AbfF1M7M (ORCPT + 99 others); Fri, 28 Jun 2019 08:59:12 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:58670 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbfF1M7M (ORCPT ); Fri, 28 Jun 2019 08:59:12 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190628125910euoutp0229a8ce1ba455845efd4e2685703e3f0c~sXjShZJzz0793007930euoutp02J for ; Fri, 28 Jun 2019 12:59:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190628125910euoutp0229a8ce1ba455845efd4e2685703e3f0c~sXjShZJzz0793007930euoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1561726750; bh=8Hd3VfBJL+xbiJrjQF90ePIZxnBEv9M00xB5/OAyKPM=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=FMI3ixGUI4k6ZAc1G+bgJMwhHYv20vjSnzYHzs92j8SSQ3JyQVEbpd/cBJ8jS0xti 2YEwFH6azYkpaqoDsuXfZSGsjWfWLA3/9KdDiEGAa9mijDRPNevB0qTnidcyVJ4lJM IilhMVjZmVbdX6tM4Rry90VASWPCZ9rmKPZM4dus= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190628125910eucas1p202669bfbbad1a9ea55c66706559f1029~sXjR2wB1i1911519115eucas1p2u; Fri, 28 Jun 2019 12:59:10 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 90.6A.04377.D1F061D5; Fri, 28 Jun 2019 13:59:09 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190628125909eucas1p272b6e6e36732ce575b70772b67ae7c6c~sXjRBheKx2972129721eucas1p2v; Fri, 28 Jun 2019 12:59:09 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190628125909eusmtrp2b41c12b64b7e42d74f7267a2c892ddd1~sXjQzVFZ20722007220eusmtrp2h; Fri, 28 Jun 2019 12:59:09 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-e9-5d160f1dc589 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id E9.44.04140.C1F061D5; Fri, 28 Jun 2019 13:59:08 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190628125908eusmtip1476c57280886b316413bd8d2c64e41ee~sXjQN785u0811308113eusmtip1c; Fri, 28 Jun 2019 12:59:08 +0000 (GMT) Subject: Re: [PATCH 02/12] backlight: gpio: use a helper variable for &pdev->dev To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , Lee Jones , Daniel Thompson , Jingoo Han , David Lechner , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Bartosz Golaszewski From: Bartlomiej Zolnierkiewicz Message-ID: Date: Fri, 28 Jun 2019 14:59:07 +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: <20190625163434.13620-3-brgl@bgdev.pl> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01SfUhTURztvq89V9PnNHfVPmBkYpFaRjzMpKLy/VFhghCK5KzX1Pxqz4/M P9LIaRMrKyuH5jRJW6RrC81pBRu5zFRCMbPMgUYf5EzngsCP3J6S/53fPed3zj2XS6JiK+5H pmRks4oMWZqUEGKtXX/7dmz08EkIfemg6dmatxhttLYS9LtfowK6vtCHHnRMEXTTbJWA/moY R+gxx2tA355rRGj9+BBOv7n2G6cHjNUE/apch+wXMVPDxQLmwdAnnGlXjwoYvfYqwcxc78aZ z0OdBDNWZkEYQ8MlxjLchjB2/aZoYZww4gyblpLLKkIiE4XJjpoRkGVGL7zQ+RaCeUQF3EhI 7YbK5o8CFRCSYqoJwMYPNowfZgGc/qZD+MEOYGW/CqyslE/bcZ5oBLDUurismgRQea8Odaq8 qBhYfvW+K8SbCoSa5i8uEUq9RuGPgceEkyCocFhRonXZiqhI2PL0O+7EGBUAtU/sLqP11Ek4 1qXDeY0n7K6awJzYjQqDDUMzrgCU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pKWWUhaZiFpWcDIsopRJLW0 ODc9t9hIrzgxt7g0L10vOT93EyMwvrcd+7llB2PXu+BDjAIcjEo8vAu4xGKFWBPLiitzDzFK cDArifBKnhOJFeJNSaysSi3Kjy8qzUktPsRoCvTcRGYp0eR8YOrJK4k3NDU0t7A0NDc2Nzaz UBLn7RA4GCMkkJ5YkpqdmlqQWgTTx8TBKdXAKDSj0/hlUG7WJFmH4hO3F6yyqpP7USy1vErx ePmO12pfLqfOdF3ImaMstOFfo6m10TqJDbM93rz7JLxY8oLxHz6Py4XMXb8Wssufc3qnqvvN lktD9NuKJ4za+0JZGQKkvkzzS1m8zOA73/4sz/igmg0xeRlsU4Q2ML/d+fd2+IH9Qi+yf/k4 KLEUZyQaajEXFScCADLzI24FAwAA X-CMS-MailID: 20190628125909eucas1p272b6e6e36732ce575b70772b67ae7c6c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190625163459epcas1p39631966dbd7acbbbb1f905b18e41a2d7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190625163459epcas1p39631966dbd7acbbbb1f905b18e41a2d7 References: <20190625163434.13620-1-brgl@bgdev.pl> <20190625163434.13620-3-brgl@bgdev.pl> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/25/19 6:34 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Instead of dereferencing pdev each time, use a helper variable for > the associated device pointer. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics