Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3793359ybp; Sun, 6 Oct 2019 20:35:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzB1yIFN03IYPOIIcuHWkN22OAkM0HXWX3aksMj6vaOPeLF5EI2gDDqvNymDDvBCXHC3MJg X-Received: by 2002:aa7:db02:: with SMTP id t2mr26814826eds.252.1570419313407; Sun, 06 Oct 2019 20:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570419313; cv=none; d=google.com; s=arc-20160816; b=ctOPaa3hZszSbj2KAwwX9qCjOK79i7NEex3xOJkszcpdBsHHETg2JIxq6kzBDgkf2w gU+k3aHc2A/nmUB82h1zYA8ypVitTNMvZ7TprsW+R+wpSxJTy/gHsYMWQZ2dC/t27UAI WxWGhEpJmjsuwb3geckKJ/IbnQ8gsQ6356DeN3Iah8lGICF2+S/9iPf7V4zihPumrgdT uqargNnjDCXo5zNkFSYGQLUv6miTbvPAbjiw1TbgQ5wjv8AWhfvMIp1rhUKNlagTvvEX Kr8GT4bg6R0Hz7Ds+MCG3KsWgCsV9ThwLkmcgP2mcHyvL+Ay8pIBO52gQOhrYVfA+lM4 wCNg== 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=YdPiqrMx4DGxjMQly7Bs8yH/i3WsBA2bl/JSPtLQAlU=; b=Kb9jneWZBZg6meMi4CN0dHa94VsPHh1R+oQVIncAUXoTXlIWmDqsugDc5cSJ0tkxdP GsZlYuBllGuf7TnX/krtgQxdhsvwHeV5ISbX110Soz4yKWvQqI2Lr8Rr4HKLJOd8WFJg SmAK3bN3vGRowSANbLXyWPSKogys0x2IzjyiXZYBZfN+WGpmzJ4vLQqPModF4aofvo5t L8FRftKtGndvB0CqkpCQE29JlDzC5RLd1BmNyh6splT9jSNaA/spOgVC75bfr/jfT5YQ G2iKkAKj2KFzNAFyZC4qGLC+rF8EUhSp2JlsHigOfHCeErAwA5lojYnzUd/4aoJAi+OW NPbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=CdUzkW99; 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 u20si1266563edy.284.2019.10.06.20.34.49; Sun, 06 Oct 2019 20:35:13 -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=CdUzkW99; 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 S1727237AbfJGDcN (ORCPT + 99 others); Sun, 6 Oct 2019 23:32:13 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:34421 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727201AbfJGDcK (ORCPT ); Sun, 6 Oct 2019 23:32:10 -0400 Received: by mail-pf1-f195.google.com with SMTP id b128so7760566pfa.1 for ; Sun, 06 Oct 2019 20:32:09 -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=YdPiqrMx4DGxjMQly7Bs8yH/i3WsBA2bl/JSPtLQAlU=; b=CdUzkW995hDj+4VhwVg9oMZHUzQGlHk72ob3OVsXRVWZgf7+4PHcvudHA/4wmxF+Nx q+SIn6grfSFoMvOijlJ9pQ33jnn2HTj+q/fNdBXa9XiocAuw6VtpXZ6uq4TlDqtHtpoW uzBnJM5AkvSTCU9MtnTncl8QA8kaeg1O2tXI77iJpYeu/i7WyUxJzuzz7F21puHWx2Vv n3dkHdeaikrmzXLbNk9GudGvyDoVdGfiVsmDaMrvK8ByUz5nRuPw0Z4rzejlbciaT0p9 oCxo5hLvx+sIIVu0Vn9kz6xNFGZ12WuMxEDcZWxk1OPqX2NpNxdx+GQmU1E8FXVLopYl n06Q== 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=YdPiqrMx4DGxjMQly7Bs8yH/i3WsBA2bl/JSPtLQAlU=; b=iiFipNWMk9mJ5eX9D4A7jWxgNnfUlvutvHgVMespevB1TwAfKh9zqJZy8zK4Bkzr1Y RK8uvGpmewkhk+GxqSnnkOPb0Cs3FB0eESb0HQTUQ0yztRH09u7kxnur2hP9zxBjQLDr BM/2GgBBSPL3scx6bDW8duE0FGBxZSSbsLq0/YObWcTdj/IopW7MdkqIFf0YdeVv9jxJ s/moN6d7wAfmojrltNRqx6GcCBggPnXZ2HZ+uavw8yVRC72srZca9ZF+nxXdjt7ajATP LUE/jD+Wnjmq11P+Z1k1I78Iz0+YKBrOn5/4wLlUklOiS0cECaA6CSqCzrvY0j/q9VuP y2VA== X-Gm-Message-State: APjAAAW2uUMURcx+yFZjJFMwZ4N82t+s2z4m0au/DS38HlZwdPSRbXVE vqqWwapMEao0O3Hm2kZ1mvuXAw== X-Received: by 2002:a62:7d54:: with SMTP id y81mr30577794pfc.86.1570419128451; Sun, 06 Oct 2019 20:32:08 -0700 (PDT) Received: from debian-brgl.local (96-95-220-76-static.hfc.comcastbusiness.net. [96.95.220.76]) by smtp.gmail.com with ESMTPSA id x10sm16377720pfr.44.2019.10.06.20.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Oct 2019 20:32:08 -0700 (PDT) From: Bartosz Golaszewski To: Yoshinori Sato , Rich Felker , Lee Jones , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , Linus Walleij , Andy Shevchenko , Jacopo Mondi 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 v5 4/7] sh: ecovec24: don't set unused fields in platform data Date: Mon, 7 Oct 2019 05:31:57 +0200 Message-Id: <20191007033200.13443-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191007033200.13443-1-brgl@bgdev.pl> References: <20191007033200.13443-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 Platform data fields other than fbdev are no longer used by the backlight driver. Remove them. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij --- arch/sh/boards/mach-ecovec24/setup.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index aaa8ea62636f..dd427bac5cde 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -386,9 +386,6 @@ static struct property_entry gpio_backlight_props[] = { static struct gpio_backlight_platform_data gpio_backlight_data = { .fbdev = &lcdc_device.dev, - .gpio = GPIO_PTR1, - .def_value = 1, - .name = "backlight", }; static const struct platform_device_info gpio_backlight_device_info = { -- 2.23.0