Received: by 10.213.65.68 with SMTP id h4csp71919imn; Thu, 15 Mar 2018 17:23:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELvJmAXwFJK+mFUe6gmElAi/8aaK5PIC2BVXL9XaVAzTyT/N27IokSNpYOlIxhNc/nfVmbXe X-Received: by 2002:a17:902:900b:: with SMTP id a11-v6mr9932530plp.366.1521159811534; Thu, 15 Mar 2018 17:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521159811; cv=none; d=google.com; s=arc-20160816; b=BNjw+Z7CzoWHr165MbW6HIJ2oOrEK12zZY+sLisutbE5lUPs4ru6XF0pTHS/1+QDhv Rx96N/HVaNSbVfRomYijwcUX3E7zq6u8Mg6TK4rPkndNfCNk78Zjuyf8StN5FdBqrpf/ MX7WA9GY0irqFYVW+0OqAYMRk7wl+TXnaH88c6lms/auXwP/8vSBOltJoY2p+suFWXSG J5Zr0mz8AThBBOX8vR6mU/rS36kHR7wwzUL9uCYkfv51TkhfIouyP93ADOaL5Qwtjtlu VJMGNqVzinVvAwGZuE56DxU60/IeZyOWXz3JBmcYFXJ9LD55ddI5ilPfCpoqRIS6HZvE 86LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=uWWQAsK6nuI/drlviSkmQE/LpsA2xoTCve7xgwmysWo=; b=lMrdA0LW2T6gGUkQCqTsqNowFHBeVxlKti2QQVT0WauHpJ24drg4+coEO2+n1G1Xq8 k6GNTMo0wp+19MaNxWotEuGoS78jA1LeP5PY5rWQoKfzXOph49xnBMVLsANShvh7Qq3g LdPf0T6eeiGHTADY44No93+YOBXfKBxZSu9vc+MPfT7bvmczqPjet/Sg2/HXgnyYi7ni wWl/wDIJNfwYDhlxDg1v3eEVzRpBk6vCQBRQy3YED5X+eyGtlBaA4dqd5/EB96GlL86Q 4tz01opBITxH9xBaFIbxZOcNKJDXHVWkVBYPrppWtx0sT0DXVskKpMqgv30Q4KI30wzA Z5cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fVPPbDhE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e34-v6si5030206plb.588.2018.03.15.17.23.03; Thu, 15 Mar 2018 17:23:31 -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=@gmail.com header.s=20161025 header.b=fVPPbDhE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932715AbeCOWmL (ORCPT + 99 others); Thu, 15 Mar 2018 18:42:11 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:41679 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932522AbeCOWmH (ORCPT ); Thu, 15 Mar 2018 18:42:07 -0400 Received: by mail-pl0-f65.google.com with SMTP id b7-v6so619418plr.8; Thu, 15 Mar 2018 15:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=uWWQAsK6nuI/drlviSkmQE/LpsA2xoTCve7xgwmysWo=; b=fVPPbDhEBAWwJR25NtOjbcoSlsuSNlPesQRgtMnc1WEb/woxeRDWiZ1n6zPJIoUoDm 23BC7FXXcaZU/JXZxlHtnjoO+38Noi/kmFxyUiyPMSVV16VQUaTnk1+BeHnApTG0a6wk AUgUlyGyWK+K5j7rzp9R2L2JMhwjNYjNbVnHTK8CRef5MMsgdlQZH0qN8EIg3NasMhLA 84vyMFcJnIyUGHJKLYeBcd8GO7PzWkmh9SPtbxVHWDGp72BcLIsGIiuohQMAlYnzpPId Mt+QaH6kPII1bdbWR4aJzVG8sl9nNEaWTwBZdn69AzA96O4lAKas2aWhzRznyEy7HeSs r+XA== 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; bh=uWWQAsK6nuI/drlviSkmQE/LpsA2xoTCve7xgwmysWo=; b=EOmiN3zDS+B5QrOVjGqzptuOJJKokpw40tIBhbjZNlmmSIwsg8W1hoepHh9jOS68u2 99CqKi7UrgTQFRPV+m0c5DVtF2PW29kPR/KOFjhQZr5N/LeelX1kfxg4KXWnIgl9R+fn xZEEFCEy2r13Kq3j8q2Hmj9C1hQYwlV5fqYsTULo1yKeTgjJtK5HJ3gwPR0z2fuodLns hH4TPhqv45W9gOgSNNm0Gc1zy1BU3gR1wbXlp1GkwPueSpPXder/yXdeFe235Tzr8j/R QfAZuLUrnKmTeNb5ylWu7+f9GnwxNlS0xZTcU1Ofd3a6Ds9rQNMHl/JAFmLnJNch1RY0 enLg== X-Gm-Message-State: AElRT7HY9GhoNqoU9ZM3HVU5PqYL8fxnyKWxzQrHA04Yt4JcUnW+e/DN wpdT8jf8Q1i0aBoW5G04TYI= X-Received: by 2002:a17:902:2c43:: with SMTP id m61-v6mr9849099plb.387.1521153725892; Thu, 15 Mar 2018 15:42:05 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:0:1000:1511:8de6:27a8:ed13:2ef5]) by smtp.gmail.com with ESMTPSA id c62sm4607888pfk.179.2018.03.15.15.42.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Mar 2018 15:42:05 -0700 (PDT) From: Dmitry Torokhov To: Laurent Pinchart , Lee Jones Cc: Daniel Thompson , Jingoo Han , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, Yoshinori Sato , Rich Felker , Linus Walleij Subject: [RFC 0/4] gpio-backlight: remove platform data support Date: Thu, 15 Mar 2018 15:41:58 -0700 Message-Id: <20180315224202.96668-1-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.16.2.804.g6dcf76e118-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series attempts to remove platform data support from gpio_blackllist driver and switch it over to generic device properties/GPIO tables. The only user of platform data was SuperH Ecovec24 board; please take a look at patch #2 that tries to only register backlight when the board is using LDC and not DVI. Please note that I do not have the hardware (do we even care about ecovec24? I'd like to rip out platform data support from tsc2007 as well, but ecovec24 is using custom pendown handler and GPIOs have to be switched off from interrupt mode to GPIO and back in that pendown handler, which is all quite messy. If we do not care about this board I'd much rather removed that custom pendown). Thanks! Dmitry Torokhov (4): backlight: gpio_backlight: use generic device properties sh: ecovec24: conditionally register backlight device sh: ecovec24: convert backlight to use device properties backlight: gpio_backlight: remove platform data support arch/sh/boards/mach-ecovec24/setup.c | 47 ++++++---- drivers/video/backlight/gpio_backlight.c | 93 +++----------------- include/linux/platform_data/gpio_backlight.h | 20 ----- 3 files changed, 46 insertions(+), 114 deletions(-) delete mode 100644 include/linux/platform_data/gpio_backlight.h -- Dmitry