Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9288577ybi; Wed, 24 Jul 2019 01:26:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkVwXBeVEOWs+GwCrf7a6KKqmibqy1vmJgnT0koUbuyoqUW3Tbg47ffojYPDawgs+7lzfS X-Received: by 2002:a17:902:5ac4:: with SMTP id g4mr86622892plm.80.1563956790576; Wed, 24 Jul 2019 01:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563956790; cv=none; d=google.com; s=arc-20160816; b=LRgcf9PJQJjfBf+k37XdWZqysn8JabAoXTiW5nTJM1TXr11/5qidFvA7KoNKk2prKd anwzeaDkluIMc7ZeoYyawUc7KRjRaFhwPDhWMBfsovXHAWdjDlz8b/nud72cAlNk2nKe R4N5GcJaANuQb8t9kmL3VP/DeNWDidC+Lca9ZCCuE2TFgEJ1mBTcucclrltO7fyBUhW5 OGWHU7qTWHJIWMP8J70DpcYc7zvoYEOLX3b5Aef4ZmnCp8gB4cWcLpuOFp7t4vRNVmSr Tg3UEqeeHb2NHHzpQEUCAI/yhYYXU88/qacJE/hisAj4RXwKqKvfhX1Qul+LU7YYRgmf Np+A== 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=MWh9VGd2JwifXWatter5gVNCFGQvFvQYl1wPUfmq6BA=; b=zCf8UTJa6KM5g39kxoWH/aPy7EMwOUyIXw2iS0WOy7LvHmaQlZXt4S5H9ywcWJBa9h KBgTpUBjujGXj6+XN9Rq52Wg1t9rf+IXFgI5ufTvgEe0WTXugz9CAw5KESIE18ZkIwbT AJA4qFRUo97bSbFBSvmMUm8vBn6T3ZAaa9z0VhtC59C91et7rwfM/X0GqTr3tiZhC0fZ Enmx/pAW3UzSyFyRzeI2ZQmkWKb2iv0/AcO4D1GMc498aCa72xfrApyzYPKUxCt69bwp zARzfVeLRZ9jtAutEZpFgD7dqkkf0pKK5RQEagiURF9CjcaWolGW7ObnaaOtNFb7U8gO VwJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="Ru8/V2Ku"; 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 v66si14855829pgb.584.2019.07.24.01.26.16; Wed, 24 Jul 2019 01:26:30 -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="Ru8/V2Ku"; 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 S1726518AbfGXIZZ (ORCPT + 99 others); Wed, 24 Jul 2019 04:25:25 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33964 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726391AbfGXIZU (ORCPT ); Wed, 24 Jul 2019 04:25:20 -0400 Received: by mail-wr1-f66.google.com with SMTP id 31so45979271wrm.1 for ; Wed, 24 Jul 2019 01:25:18 -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=MWh9VGd2JwifXWatter5gVNCFGQvFvQYl1wPUfmq6BA=; b=Ru8/V2KuUXMTU8q4g8iglT+1D551XJ1jRu1e/mkMhxZ41/k+vNUX9+CBHpMMATMLcL qA7G90MOkXL0es1XDru84jIee/hoFp5YxCFwfo0CgWKkTkJSlHOqCEr1iMF31PkLvpAm vxWfi3/v9hnpL85NJbcn84NuLHK8ZwfNr8R1aicwnOSGGBohMr4+VtbWERpElGqBQvj4 J7dN+52l7aCDWASYucxYNDxixUcCvgVIwkPoWyDWNVcMPfl8K9m6vSmglYR+bwChB6TE SabhVALFMspdy8q97T4skJ5NHKGlkr5mA0aqOWlMKI4cH00E1sSr0uZYF75qmVgmJd/s Tr9A== 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=MWh9VGd2JwifXWatter5gVNCFGQvFvQYl1wPUfmq6BA=; b=BdFftr27ydcnW7gwUn1VSdHbUk6Irvibd+pIgqzzblK+/LsBvHtNU/wHIl2ZEYBBdj 5L+cX/xEpOBc1NTdw2iWgkwdWWg2ui1nvDIsJ5XeFP66vVz6j5pDFi/M/Oi7OEND7Pkt DQ3c64tywtz/cVlBVsU4nih6C/t5lCQ+bQNCqgInj+4jLTdFkHJlXuNtcvksEWW9xmBS YWMUtPfNSk5nhxfsP/26EODT0OpDsyJmBpHzl/pTgXEm8sTkfhLFpQnDUe7gAYMSCSBd WnXAXx7LZTm443SGkZ7cgsJ0Df35pgFxjDMeIjYUSFZper+ya1UJEoxtJcEadXi71LpI 3gug== X-Gm-Message-State: APjAAAXUVgNSwXGFfq724QdrUPfmYTpi+14RsjrIq+EAgJVaHRvCintT rsNaBAjLrKsXOp3c65QhzWQ= X-Received: by 2002:a5d:518d:: with SMTP id k13mr29586503wrv.40.1563956718056; Wed, 24 Jul 2019 01:25:18 -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 z7sm42393880wrh.67.2019.07.24.01.25.17 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 01:25:17 -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 v3 5/7] backlight: gpio: remove dev from struct gpio_backlight Date: Wed, 24 Jul 2019 10:25:06 +0200 Message-Id: <20190724082508.27617-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190724082508.27617-1-brgl@bgdev.pl> References: <20190724082508.27617-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 Reviewed-by: Andy Shevchenko --- 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