Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7374459ybi; Mon, 22 Jul 2019 11:59:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGPvGI5ZyPaptoMPqRXygVPlZzeOYt8CS6jOzzMjca+FykvLGHxTaBjvB0CPFFQjOpgZWM X-Received: by 2002:a17:902:2a68:: with SMTP id i95mr78063280plb.167.1563821995051; Mon, 22 Jul 2019 11:59:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563821995; cv=none; d=google.com; s=arc-20160816; b=LtMrB5tPZ/9vj/AJhA7S+ucH4aj5b1GhFhVEnOv1A0UzxfqJSJ1tWdI348kZHQZEdf uXrhPebfiPNdZwDPH6R28zZTCaH3teU0XsjOhhb5rBYRoCCUVOpCrtaCxO27uiK2E8ee uufoKEWA0klbRKEqY2H6cTzW38Zs9gGtAHytI6WWNdugUZLn1vTz0M2gCQZitFGSBLJT kK+WrFd89QeHqpVVW+HQOhWnlJ6nRmgehGyiv2O7MiqxHcVJ40nAAfxonlng00PLiV1J p8R7MdirqOvdr2aAWw2XQfBonvxNxHPgQqDZzu+GUaUKSRHo6WUoSc4C2I7g+fys7TUK IngQ== 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=rcQE3lqQ7qHdpTliGnphmcGBT5sq5T1i6sYO3p/vgc8=; b=qms9dYnDwMT4fSijNZWeQOvHuzyw2AHdjj/KDef8npky65gOOPAkWVwUUYOPv2zmYO C773hQk7nEBmgvB/r+hRO5sOUNqhy+c3oHQQfmgO3mA930CLuDZuD+PWfYwKdWbKikxn DYHRz3X+cbBaZSaYVgPvVHtDmHztmf1KxiH+ZYq1cf0e835X7MZlZqphGMnQdNzU7fgL aoIz4aLdUmTG7C2rt4eOnd4lZZRO4yfUUu+wnVJtLFDnnzeAxjsgH59Y7h5kDEfyvxMT Jm9+0ijFa4xyRN34qT6qJV35cSJiqV5FkCuzU+ozslNCBVU+6l5TyvXikYy5x2psdKg2 xruw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V+zBb66m; 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 h10si10508518pfk.197.2019.07.22.11.59.39; Mon, 22 Jul 2019 11:59:55 -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=V+zBb66m; 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 S1728677AbfGVPUs (ORCPT + 99 others); Mon, 22 Jul 2019 11:20:48 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:36979 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727036AbfGVPUs (ORCPT ); Mon, 22 Jul 2019 11:20:48 -0400 Received: by mail-wm1-f68.google.com with SMTP id f17so35728899wme.2 for ; Mon, 22 Jul 2019 08:20:47 -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=rcQE3lqQ7qHdpTliGnphmcGBT5sq5T1i6sYO3p/vgc8=; b=V+zBb66mMoZKT+uP6vSPu6gSa0cocMmWscUDuipWZQXinBTzJl0+/SZPTSnx/eG+W7 M2gj/SB4fPiH3QDjf67mfQ8Nq5e0taThlxRK+Pbv7iY6AjFz4MRd5WmNbZAH+RPBNaXn oOJ3sPFg2QfJ4sHMHeXZKOUX6YXHy+63u7p2v9E8LBX9VH9uUxjd8OySrTsVephTd/5R zd5znXce9+FzwhGw8znDlGTMr6/pjW832Gw97gSXXtorFOujysfZYyCcISGscjrm85Yj kuuLzWhOidE+E7wuLCQSBOYLTMQtQx0W6tctgLTMOj716nlnXLGkUcDWZPCJqLVA93M9 0vbw== 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=rcQE3lqQ7qHdpTliGnphmcGBT5sq5T1i6sYO3p/vgc8=; b=ltldXkyd+99ncCkD0529vYOTllP/uPVdtyw/CWlELiGrp05OYoZ5ljGGYat8CILfrb Js+3QafTowUUT96phzP1eYFQchd99/SqFT7jFVmO6VoPExFWOks50k8ju9h3elLXWA+U P9Vz15NOAvZqxwnGuBNQPmbKnVW6522VyX+fRAU6D0oiyh/FgCZGbDpXmHZ6y7nx28wK 30Oe6zqAk34LZ5oerYCws5QkyzNltvPQs9avtYumlhFa1KWvcXfEkp0zaea9yq9Y8R9S UCtd6zLw52Zi2SvyPC9aeKrq5/2kicIFuLZINUI+6Di2qt2itSEDS5TOQMGiC66dkkLC YlbA== X-Gm-Message-State: APjAAAU4hDjZVCAqr6ewtlWbw+IB5MMsViV/mEtZ0rIvWYCGB2I3JJn3 5r1yqr5qzxrXNVwYNKQRoUxPHg== X-Received: by 2002:a7b:cc04:: with SMTP id f4mr65955957wmh.125.1563808846569; Mon, 22 Jul 2019 08:20:46 -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 a81sm39805102wmh.3.2019.07.22.08.20.45 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 22 Jul 2019 08:20:45 -0700 (PDT) Date: Mon, 22 Jul 2019 16:20:44 +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 v2 5/7] backlight: gpio: remove dev from struct gpio_backlight Message-ID: <20190722152044.7zwf2xtzbpesjrmv@holly.lan> References: <20190722150302.29526-1-brgl@bgdev.pl> <20190722150302.29526-6-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190722150302.29526-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 Mon, Jul 22, 2019 at 05:03:00PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This field is unused. Remove it. > > Signed-off-by: Bartosz Golaszewski 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 >