Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9444099ybi; Wed, 24 Jul 2019 04:14:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkXRb06peHDC/4hpaNunq583PrsbcEAE/G6J041N3zw+4UBAcfwFvG/THmMcSazuK+edbG X-Received: by 2002:a17:902:7c96:: with SMTP id y22mr86956932pll.39.1563966864504; Wed, 24 Jul 2019 04:14:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563966864; cv=none; d=google.com; s=arc-20160816; b=rmc+W8AhSjdO2sKA7LndSGs+TuELWSxTjAzkCAZR+svt7g0W9gdhb/eggqzD8t1zyj g0DdEfUZND7TDl9/IJi6RUII5P8o0USIIM6kFfd/rb1KnGOaA+P6WdDHu9l3u+Va5uL8 DpgJWO3eKzELizP46/OJ33U3tWj4tSkHDXMNUMAat+IIdJ8O8RrAe06bZq/ZvyD3PlzK jYZRiP1kSL0mOgbY2+717KPVMa+Bpmyd2Sj8RtBzJUDNqpsMCeBoMgcjbSnw5gDIwCQM WCoTvzfjvjRz/GL6tKMSPo709sZGCDB1S2zIoBSJc/PxyFbc08YpIJRSVm0jmvhMQtMr xS1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7Vbm5wjodc/SiuXfd2hEHkZgRHnDrgsvnClch0dv500=; b=sI6i2mDKdQ13dzcSe7Frgr2CfLjynIICzf5u41KIt2xzES/kTOdUoQZJduPFEGYXeJ kUvWtAuuk0UYq4s8bdGjKRhwiUf9MDgBEtSUxBiN8a3CsdQ+8r7VYztiFRwfa8HvMRSF LxIasR42gBteg17EapQSnlsKF0ra/sb/3gazlkrDGnFu81cPrLotlmDZtSmWEnC5FIgF QOjIBhtD+hyhPQvWax/nClmyBuQVm5H7CEk9+4CoPrAieg140LosthhTefaV1edBCBcn iN8JdhPBZeFLtnTR/7EXTktCg64PT8MCrKWeQjMXBsWyy53VwwcVVzumnPCodk57FDO3 ujoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zjqzTsV3; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si13798405plq.125.2019.07.24.04.14.10; Wed, 24 Jul 2019 04:14:24 -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=@linaro.org header.s=google header.b=zjqzTsV3; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727575AbfGXLNQ (ORCPT + 99 others); Wed, 24 Jul 2019 07:13:16 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37754 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727554AbfGXLNP (ORCPT ); Wed, 24 Jul 2019 07:13:15 -0400 Received: by mail-wr1-f65.google.com with SMTP id n9so21456367wrr.4 for ; Wed, 24 Jul 2019 04:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7Vbm5wjodc/SiuXfd2hEHkZgRHnDrgsvnClch0dv500=; b=zjqzTsV3sC2VxjWuPXKIKiVPljJPuNhPm9Eo3muadrJX0uOfyeRP1+0z8ruC5+uBE8 kVQXypwUufH1EOWhSVEgvJXaLmrs0dD55o0bQZSbPtok43uPOWIpgx/J9ZAgKcMaFDvL Q40uZcOODl7gy7dZ7D8EvD3qHOxoegPBkNvZbDy2dht2yPpcz8YA3FqP8NlU2lS2Msop 7sLjI5SyXrArFojZqSZa/e/oXEezqOZOSvnXHGQv8PbPyAG2kVKvRxQ73NEGep2YjF3P 9dVHmIOtgEXHiVWyCgsdpGlyQcxDu6ipd0Rj/NtFnYRAUHak5chJc/jqi6L4LTZESixq xvvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7Vbm5wjodc/SiuXfd2hEHkZgRHnDrgsvnClch0dv500=; b=id4twSYZ1W7Msb0FUoeHcvSZSVZzA6VCKfzpkCaBKSQY7aZ1orM3811jMRHvcYq39z LnX8lk7YMvVT6QfwBYLNu9dGtvaE+dPbrAfc7D7de/79JdLnLSwkRfwRsjJ9QdaajCpA X9jichB7iY71zg0j0uU36OFzdylvmwXqBfkqSYXDCdUEmuCQR8XE7JWMyF58lWUrF3aD 03DfWW8mWxLpIK0syz9E6av3PC6lIgJiKcNfgTDO0fa3/dZSzPTRdAhljm0EmsEhaHGF RbFTc9qhXLnENT23p12IQX90GaJFqZXqAH7fHCkQ22BWnVvvQuPfsU4AdUIQrrUYTRkZ 8zYw== X-Gm-Message-State: APjAAAVwGD6zy0W1663nBf6E2MVo/XCuv0KmXghhZCgrR3haAWhHY4DM Sui88Zj0b6bxtxzDwFoEQOrpSg== X-Received: by 2002:adf:e8c2:: with SMTP id k2mr72432053wrn.198.1563966793314; Wed, 24 Jul 2019 04:13:13 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id g10sm33641138wrw.60.2019.07.24.04.13.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 04:13:12 -0700 (PDT) Date: Wed, 24 Jul 2019 12:13:11 +0100 From: Daniel Thompson To: Bartosz Golaszewski Cc: Yoshinori Sato , Rich Felker , Lee Jones , Jingoo Han , Bartlomiej Zolnierkiewicz , Linus Walleij , Andy Shevchenko , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v3 5/7] backlight: gpio: remove dev from struct gpio_backlight Message-ID: <20190724111311.zkhc4qzdktrw4sak@holly.lan> References: <20190724082508.27617-1-brgl@bgdev.pl> <20190724082508.27617-6-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190724082508.27617-6-brgl@bgdev.pl> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 24, 2019 at 10:25:06AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This field is unused. Remove it. > > Signed-off-by: Bartosz Golaszewski > Reviewed-by: Andy Shevchenko Reviewed-by: Daniel Thompson > --- > drivers/video/backlight/gpio_backlight.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/video/backlight/gpio_backlight.c b/drivers/video/backlight/gpio_backlight.c > index 01262186fa1e..70882556f047 100644 > --- a/drivers/video/backlight/gpio_backlight.c > +++ b/drivers/video/backlight/gpio_backlight.c > @@ -19,9 +19,7 @@ > #include > > struct gpio_backlight { > - struct device *dev; > struct device *fbdev; > - > struct gpio_desc *gpiod; > int def_value; > }; > @@ -69,8 +67,6 @@ static int gpio_backlight_probe(struct platform_device *pdev) > if (gbl == NULL) > return -ENOMEM; > > - gbl->dev = &pdev->dev; > - > if (pdata) > gbl->fbdev = pdata->fbdev; > > -- > 2.21.0 >