Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7296586ybi; Mon, 22 Jul 2019 10:30:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtkAiSBeWywvvVLkWoqhnXYi6yxNn5dzwSKVhQSSCaNdCaUaacJDQWXYJCmVlI8/9OPbrh X-Received: by 2002:a62:cdc3:: with SMTP id o186mr1349200pfg.168.1563816622005; Mon, 22 Jul 2019 10:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563816621; cv=none; d=google.com; s=arc-20160816; b=EIsiBtuZv3x7TXJmOqWFJrW+Q3VxGO0RsIZFAOFQvpDJhlcM/nMn5tEbe3z3bn2geX DSMQ/eBjRiLRk+vxCR75q1STU1opx0PBYEr/J+IHUrPA/C0C2xmNfnWRYpf4NS49RuN9 aEBIdwfhLUyk1QAJY2f6bUk8Rb+ytBxPuLuE10pZb3BEEheJAPl/eaUA8wtqF9RPLYAh UyOv4kPNBAEv3o6+XFpDxgsWd2B6kGqBs9VVyQA6d0yv+zcaNmVoc/0BmYG4W583h7Tc cQSR4FUkgDUO2lDgEViDqGXIwImazqoRFDzYIWbPzE5iU0TgS0XblqUlYUf9bqAugrGo 2cTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LLvAXEq2SM+mYzd8MvDi1noi/4oB+ae8rtxDIe/pNO4=; b=i+Nz2tkvIi+ma26+VSa5sUG2UsuWLr4pVgnSNg8CjhkV/cw9/vXE2S7c9mjmqp7D9a w6C/EvgqPQVeDAC5LYmBrUyTVooGjEie8hAUnmUqXpGq0JUeyQhjEGTC0khFI6QxBRfv FgJlO1nQBDlhf2pdbpbxZA4Ik73wts4czFYzfJ/ih2ZAq3+wapI+Pec1Ki560O8f0oy8 UWAXs9EUzqA5v+qcDCUXPZKKKhYqwlGZbe2piazv40VIW0LSPk+Bax8ZCVBaae4dpHVr bOswNQmiEkq27B2Nz/HgrkrklW3/KWgAghOOYQbyjWPeabqdM660dbgu5FI2UpSDOf5U C7wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=HaBuYw8a; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si9132683pfg.55.2019.07.22.10.30.05; Mon, 22 Jul 2019 10:30:21 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=HaBuYw8a; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727460AbfGVPDZ (ORCPT + 99 others); Mon, 22 Jul 2019 11:03:25 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41172 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727395AbfGVPDX (ORCPT ); Mon, 22 Jul 2019 11:03:23 -0400 Received: by mail-wr1-f68.google.com with SMTP id c2so36589662wrm.8 for ; Mon, 22 Jul 2019 08:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LLvAXEq2SM+mYzd8MvDi1noi/4oB+ae8rtxDIe/pNO4=; b=HaBuYw8aP/LTLQkjoBo3QxFQrr5CvKqNDDJOUoZjamO6fWlt7hKvBHcwVDhTxa2bVk PGmrPqgdMzHYC40+rjS1RCR1E5fh3s4d66tpKXUu2PJoyoXOFhpbeXpgJ6AEM9p2yZ4o 93mf4+8xW9ChHouV4+22xxtu7EsKTKnml1ymwSywVL8CPeX0NZdPM7gPIb2OmzV20UUI Y13RNHjxzT16PLh80llP2bp1kam0WIwrFGsbeQrfnFr6IGkG5/NtHUsUTBQGlXBAJ9Ur dU1qJZ6RRrzhjtNst8i/aUfgatG9XA3jevR78rlR86grA+KQBLViQ+NLtwPAgQF0Lk+L BGIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LLvAXEq2SM+mYzd8MvDi1noi/4oB+ae8rtxDIe/pNO4=; b=i3taAwUiw1Qs3R4rp3QPJYV0jP5Ufg2BXgk9w0fMF/h5HG9ZOhZgv1bS0H25Ak2MVR h7HBNOxWhx3a1WKVgXrwW/GruL/TCFoFZA7Wun2WScH1xAB3aIJRM5CxgztAbuqGJXVM WXOIS+1m3IRlvg5lpUcUZfKSXSZxZv3mll+XVXnuRsZKhnl5BX7GBqKhc0HRzg2yv67J hW0k/M2uJo51PxMAGBVsDbvlQ07ayYjORtYJydbENqm3PfbZPC4equO8oIgyaqwxxFDh VrWByrGPcORJXAoUUSrJwHjcLStQqaItP6VYqADT/XBPcL+dIVQt3TZsSsdv5K52DwJJ QoNA== X-Gm-Message-State: APjAAAXY7fwYWCaZx+xNQP7p8mtvKjkADUO5fOmUm7UJRg0FwXNnTwqj U4jssmMQ9axddD2snWpe7Cw= X-Received: by 2002:adf:f84a:: with SMTP id d10mr69194280wrq.319.1563807801489; Mon, 22 Jul 2019 08:03:21 -0700 (PDT) Received: from localhost.localdomain (amontpellier-652-1-281-69.w109-210.abo.wanadoo.fr. [109.210.96.69]) by smtp.gmail.com with ESMTPSA id v23sm36310460wmj.32.2019.07.22.08.03.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 22 Jul 2019 08:03:20 -0700 (PDT) From: Bartosz Golaszewski To: Yoshinori Sato , Rich Felker , Lee Jones , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , Linus Walleij , Andy Shevchenko Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 5/7] backlight: gpio: remove dev from struct gpio_backlight Date: Mon, 22 Jul 2019 17:03:00 +0200 Message-Id: <20190722150302.29526-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190722150302.29526-1-brgl@bgdev.pl> References: <20190722150302.29526-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski This field is unused. Remove it. Signed-off-by: Bartosz Golaszewski --- 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