Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3277386ybd; Fri, 28 Jun 2019 06:00:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmgryv/z4S5qnRK91v00214So5v4Im/hvGRIH5CTe2GZmAhr4StmAJIauQKL3pMuhaRA8n X-Received: by 2002:a63:f953:: with SMTP id q19mr9164477pgk.367.1561726849950; Fri, 28 Jun 2019 06:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561726849; cv=none; d=google.com; s=arc-20160816; b=AHWWWDb23fl3VPDAV2LO6v+QqJLXe2J7JUfm31gM+uRBCQrb8syzPBI/eDAbOlPYXK w2NUB83o0FFiSY5syrK80Xn7Itbi6gL5ScakJcuWWwcjI/3q1lcA3fml1RStH5OZoN9t 3UOLVERSpTnyjA7MIv55YlBKH7F5imEwgD4vfnmaBjYLyC14X96zRefv9AVHEfA9KCq2 lz/+kn6Rnh7GWvZ7TycDaXL/cHhUOaV4eypIYMDtv77vKz+Mt69G3/r8AQkbd2ZJneBr /MbId1nth3kI7dIrMfAXp9bZVrCf9DZ6GqMTS3l6tmUZyXoBnuAyJJzH+FUam1nPubT1 CTjw== 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=OUDwoCQGsl9WTT2taNQCoc/tSY0rgy7kUD5RRoWSEP0=; b=YxXKIRjG/oGVod0arHJM+I/jT3WJQLJUG/g3N5V1D7PrXmeODoMoAiO3b7oOGr5Rx3 3UxfmIjEceie1Kj8HX4lu9CdD2yJ45VKLSiska6WyKztYcXbrI+0UftVU5MgjQs/vHC1 3ao3VZvmLO3+B75ed3ZdK3Oa9ypcXqiymclPL5QgiuGUuDWKSgtBLFKK9uL9ACifmlb7 R5isVXJk/ueBq1DMnzwMqpXenpqpnu2A7Hgvx6LTbcN8rHJCwLYv4NJd3msuG6FYy/Pi SdRnMcr1Ap5hUVNWAacqHF3t3H1hl+cp3GKM5JUTIwyJQdHPBX4dMTbQ22UELljDTbZQ b9hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=lpN08RJk; 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 x4si2003529pgh.292.2019.06.28.06.00.33; Fri, 28 Jun 2019 06:00:49 -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=lpN08RJk; 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 S1727035AbfF1M77 (ORCPT + 99 others); Fri, 28 Jun 2019 08:59:59 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:58927 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726674AbfF1M77 (ORCPT ); Fri, 28 Jun 2019 08:59:59 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190628125958euoutp0240bf3f39d93a57232b2c39e34db10f52~sXj_tn05i0935709357euoutp02N for ; Fri, 28 Jun 2019 12:59:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190628125958euoutp0240bf3f39d93a57232b2c39e34db10f52~sXj_tn05i0935709357euoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1561726798; bh=OUDwoCQGsl9WTT2taNQCoc/tSY0rgy7kUD5RRoWSEP0=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=lpN08RJkHhMm8gvjKXXe9mEQuSVd64G/vr7yuIEOkO2FKNFG3Me+yhCRXRdGKhotQ Ujbhs4dqHWw1B/8QV3lnvIf42GAtkBsOrGVmACOat4v8YMzvGPauVIVUe3D7VtIrph 8EsB5CLs63fuTJt+m8+b3/Xo1ofFLhde1+tJjT5E= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190628125957eucas1p27033429a12c8ea16f19ec34e72e83a78~sXj_FgENY0785107851eucas1p2N; Fri, 28 Jun 2019 12:59:57 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id D9.B5.04298.D4F061D5; Fri, 28 Jun 2019 13:59:57 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190628125956eucas1p11973850c636bc43d0208f4c4bab19d30~sXj9UJ0Yy2289622896eucas1p1i; Fri, 28 Jun 2019 12:59:56 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190628125956eusmtrp22d896bdd5128a321cc2e8677b1963048~sXj9F7-uJ0792407924eusmtrp2b; Fri, 28 Jun 2019 12:59:56 +0000 (GMT) X-AuditID: cbfec7f2-f13ff700000010ca-98-5d160f4d2074 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 1C.7B.04146.C4F061D5; Fri, 28 Jun 2019 13:59:56 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190628125956eusmtip10a728d1d09434b2484bc6b3dffc3dd51~sXj8gz6aU0865708657eusmtip1N; Fri, 28 Jun 2019 12:59:55 +0000 (GMT) Subject: Re: [PATCH 03/12] backlight: gpio: pull the non-pdata device probing code into probe() 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:55 +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-4-brgl@bgdev.pl> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHe8/ZOTuOtk5z6WNG5UC7QKXUh9NNEqQOkaRBoJXayoNZ3tpJ ywwyzLSFaSnIRqF4d4mNmZqmXWY5tUhyKXbRjTKyyDJvFWnl2VHy2/+5/N/n+T28FK50EEup mPhTnDZeE6smZZL6tl9d64IWuYX7frF6MuM3OyVMk6OeZJ596ZcyxWluzMuJbyRTOa6XMh9q 32OMfeIJYvKnKjDG/L6XYNqvjhCMrekGyTzINmE75Oy3vgwpW9L7hmAbDf1S1my8TLKjOR0E +7a3mWTtV6wYW1t6nrX2NWDsmHl5sOyAbFsUFxuTzGk3+B+WHSuxjGKJJZIzF6uaURrqwHXI hQJ6E7wxv5XqkIxS0pUIRqwWXAzGEVTWF2JiMIag89mlmQrltOS3+Ir5CgTl3VOEGAwjmMyr w4QmV1oDRT1bhBEqehUU1Qw4H8LpJzh8st0ihQJJb4FrmUYkaDntDzk/fjt3ktDeUOQwEoJe QoeCvc1EiD2LoUM/KBG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DlJba/ncM8gVFoFpL2WUhaZiFpmYWkZQEjyypG kdTS4tz03GJDveLE3OLSvHS95PzcTYzA6N527OfmHYyXNgYfYhTgYFTi4V3AJRYrxJpYVlyZ e4hRgoNZSYRX8pxIrBBvSmJlVWpRfnxRaU5q8SFGU6DnJjJLiSbnAxNPXkm8oamhuYWlobmx ubGZhZI4b4fAwRghgfTEktTs1NSC1CKYPiYOTqkGRkeTzFUPuMrW9ur5/1jbX5FaulttboNI sOWh5fa/5z99JaRxI+l+AWeweHWQ0kfTDTeNWEWu35a/Wr+n0Nu9xy42p/PUzoYFO+TMXj/q SrvEw8LEmHC0u/RsW9BOw8X9O1kXHWU27WVbNfX11NVxOcn//MV2XrnRHvoktS1E37JPOy07 cLu1EktxRqKhFnNRcSIAL20C+QQDAAA= X-CMS-MailID: 20190628125956eucas1p11973850c636bc43d0208f4c4bab19d30 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190625163459epcas3p1331f76cb55291f41c5a4c3e37e0713fe X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190625163459epcas3p1331f76cb55291f41c5a4c3e37e0713fe References: <20190625163434.13620-1-brgl@bgdev.pl> <20190625163434.13620-4-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 > > There's no good reason to have the generic probing code in a separate > routine. This function is short and is inlined by the compiler anyway. > Move it into probe under the pdata-specific part. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics