Message ID | 20190628100253.8385-5-brgl@bgdev.pl (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-sh-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F572924 for <patchwork-linux-sh@patchwork.kernel.org>; Fri, 28 Jun 2019 10:03:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 80ED628727 for <patchwork-linux-sh@patchwork.kernel.org>; Fri, 28 Jun 2019 10:03:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 755422873F; Fri, 28 Jun 2019 10:03:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39E2D28727 for <patchwork-linux-sh@patchwork.kernel.org>; Fri, 28 Jun 2019 10:03:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726616AbfF1KDL (ORCPT <rfc822;patchwork-linux-sh@patchwork.kernel.org>); Fri, 28 Jun 2019 06:03:11 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35188 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbfF1KDK (ORCPT <rfc822;linux-sh@vger.kernel.org>); Fri, 28 Jun 2019 06:03:10 -0400 Received: by mail-wr1-f67.google.com with SMTP id f15so5658343wrp.2 for <linux-sh@vger.kernel.org>; Fri, 28 Jun 2019 03:03:08 -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=2fXlJr+KLvMvzQ39JeY61bDwufklUTFeJJHO6S5cuaU=; b=sD7MfnUDEG9Nd5uhC9bU5PmddNwA0kXjHFTB641OJnJbCVKMFSAVMjZL3WHIHVu9yK fWS6zgw4R+OgBrpyehUiUda/A3VJaZHc4PQcV+1UrPo/fQTnVzHjg/wFJEQUgJ1LTof1 A9rU7MhtRr4OfO5v5XUSDXGeveEB3DlbEytfcutjLNQ4Rq7n+QsPRVzpFRBhT6WwrgXA P824u8V2ZL/4JLS1+D2X9xh51UyCdJVPvsZ2h1alJHkiGzhpqmMD3JjADNtIfb2zXS5g sU6GozYeONWsvwBkC7JcyYFmXUK0vJjNv7o2sInGwoPWQyhMsXRPA2eW77XBfYz7HMWu ZUmg== 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=2fXlJr+KLvMvzQ39JeY61bDwufklUTFeJJHO6S5cuaU=; b=LN6oXswTbTKJsMajI9GrD/W8Egt1ROgOLRir/NRx/GSHm8h5hcce/xsDePajK9pVLv p6vaWz5l0yRMTFIP2tz1xiDKEA+i+QyiKE7/q2IA9b3q84yqVdcSxXuHEFEgPT+uZfvK YN5Fijyl7lzXbKoWx4jxyBrCtlkCQmV6nrvsiqXF1m6fowaysG62F23Kr++aeW3lQsNP +aHN+3r9PNk/Ksj4SUp+tcoq6dO/gGKPRxT+vVYGeMYmG4h6owqwHShROJjr1jOIccjy DFhmleGOHXCG0F6z5NJmPFQ5bJIsAhrB41xL39aIao34KXi3Fl+7STrlbrQa7J8tZuux cUyw== X-Gm-Message-State: APjAAAWtNKf9jMXhFx3m+emzHs9qDf0BdTjJABSRyL6iBlLg5V6A5UJT BlOfVxkKY7QTbAeZWYSZqh8Zfw== X-Google-Smtp-Source: APXvYqykUEXT3B0487J5sArEnZO+0OtmpAg6hB7ll9Lv+cgBqkGF8/Iqkv/JGRgFkwYe/JBUjT/HeQ== X-Received: by 2002:adf:c654:: with SMTP id u20mr4384217wrg.271.1561716188085; Fri, 28 Jun 2019 03:03:08 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id l124sm1628874wmf.36.2019.06.28.03.03.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Jun 2019 03:03:07 -0700 (PDT) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, Lee Jones <lee.jones@linaro.org>, Daniel Thompson <daniel.thompson@linaro.org>, Jingoo Han <jingoohan1@gmail.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Linus Walleij <linus.walleij@linaro.org> Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Bartosz Golaszewski <bgolaszewski@baylibre.com> Subject: [PATCH RFT 4/4] backlight: gpio: remove unused fields from platform data Date: Fri, 28 Jun 2019 12:02:53 +0200 Message-Id: <20190628100253.8385-5-brgl@bgdev.pl> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190628100253.8385-1-brgl@bgdev.pl> References: <20190628100253.8385-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: <linux-sh.vger.kernel.org> X-Mailing-List: linux-sh@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
backlight: gpio: simplify the driver
|
expand
|
diff --git a/include/linux/platform_data/gpio_backlight.h b/include/linux/platform_data/gpio_backlight.h index 34179d600360..1a8b5b1946fe 100644 --- a/include/linux/platform_data/gpio_backlight.h +++ b/include/linux/platform_data/gpio_backlight.h @@ -9,9 +9,6 @@ struct device; struct gpio_backlight_platform_data { struct device *fbdev; - int gpio; - int def_value; - const char *name; }; #endif