From patchwork Mon Sep 2 12:34:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 11126579 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 872BE1398 for ; Mon, 2 Sep 2019 12:35:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 68E6E23431 for ; Mon, 2 Sep 2019 12:35:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20150623.gappssmtp.com header.i=@bgdev-pl.20150623.gappssmtp.com header.b="S02UO1ON" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730433AbfIBMf0 (ORCPT ); Mon, 2 Sep 2019 08:35:26 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:33653 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731719AbfIBMe6 (ORCPT ); Mon, 2 Sep 2019 08:34:58 -0400 Received: by mail-wm1-f67.google.com with SMTP id r17so11858270wme.0 for ; Mon, 02 Sep 2019 05:34:56 -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=XOZ9G7G9MWu3PapBqwm76MzTbTk7qh7g47mE4DOAzps=; b=S02UO1ON99M1ouFNv8Fx0Xfkw7LOATunblr4HuZkddsYv/0NpCFEoEpOmOcnwsI8nY VElm2FAR+R/tHlyAC8hk1GoYi6+xQwuNbqFjtLSO0CpOk3Tzs3VdS93tFz15As0KPeBH UPJ7XsSxHjHFbfU3clWqLaBu5DJoT+go9nASHDJLsIIUvm4cscKqWHqdTjyrvLVQbPsW LiSHRSxqkQpNj6t15AFHNOTC8jy+ckjaVKdloIB83XMyl6hKi02d1Js3e6kCUlsZRK4a WvMbpKsMfc3vqm3H/Ee0G8Lkc3dJSCDM6c3tKCCq/WXG1oKwVrALh2/fv9nq4ZpO3nO5 7Wlg== 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=XOZ9G7G9MWu3PapBqwm76MzTbTk7qh7g47mE4DOAzps=; b=SixXPfDf3qS6Lh2i23ewWg7ZCEBZMk4/tKqNckLiXB6FeeCilzwUMqgkyfeFDVHpFV A1RabJfaKAU4S0tZLuRXySys8KWjBq3zq1PQ3e+udW4iMQp272iA/Vz4orXsGwPEMhF9 Fu2pHLwHRxsl9EK8VUBixcvXUjGKClZ9oXWyFDyq5e3SLLpEeyxnpA8h729As86tkAit ds9xtWYdPvqGJZMm2gxQmlDXp7E2HJDQCmekFAYixo8nh6vQ49jPKKEw0oS8kg9KjIq1 gTD3p6gcA173tXQkNrpiEvKz53m1Wvq5NI4vacIYeJsRJdw2ztTABw76orpLfzyycGuI P4SQ== X-Gm-Message-State: APjAAAVzseGKacgJwvVRrlkoNsRpkVkod8Jf0uu705si10BQhszno50H aR4SALkNKXrkcUpTqUE3gAUfXA== X-Google-Smtp-Source: APXvYqyPyCZkVkGyJylO/Z4gFXwGq95akjDrBPerrKkIdPHewT4cqgI0NrgE4gHZcdxk3CuDm2BYqw== X-Received: by 2002:a1c:eb13:: with SMTP id j19mr33248298wmh.18.1567427696092; Mon, 02 Sep 2019 05:34:56 -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 k9sm22645759wrd.7.2019.09.02.05.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 05:34:55 -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: [RESEND PATCH v3 3/7] sh: ecovec24: don't set unused fields in platform data Date: Mon, 2 Sep 2019 14:34:40 +0200 Message-Id: <20190902123444.19924-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190902123444.19924-1-brgl@bgdev.pl> References: <20190902123444.19924-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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 6926bb3865b9..64a5a1662b6d 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 = {