Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp547086img; Mon, 18 Mar 2019 08:51:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/xC83N3L0Uc9eu6Zt0jzIRZ7Icy69h0+RUP2BBFFp0KZKGv+lEjZCoUdine+IjscKRob/ X-Received: by 2002:a17:902:9a09:: with SMTP id v9mr19979385plp.225.1552924310823; Mon, 18 Mar 2019 08:51:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552924310; cv=none; d=google.com; s=arc-20160816; b=oLd8MXZ524AVdeqk03dJjAiNcpbYfZycECdaa0hpgHq2bI6cz2HW8V+MZm0TZ4RP1P tKtqO4A5WZq6L01U9EaixmLwrQivBE4lb1oKvqB3yPXL88NAHMuY6eQ42M4BpS9tG25p G4MCU9nhYreeUrK+jtYIp37EYiZ4lthqDei666BhTtec/pbwOyZOg2zzPiox42UjQoBe Tjd0o6AIFfOYi/f8294jW1o03bx4vOzj2JBhb5Drkqghg/U89bEt7VNvIg0uhxZVfSQj 5fwa6+4C9Lb/Rw1nKpYyGjC0p9MXfPCZ1lyp4cwTumvPHy29YTZgDx44l8Ufxp1rb+8i aplQ== 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; bh=cIFZQG+70RBtPXaZ3NUqdv8bEES0fpMlgb36JzwS7LE=; b=p1CElKJNtJ5aSea0aAY1RZmdL9lMiKUmK5WXZaLlhjubpXQKp+bxSC829Kg3OfZyOS 5+cAt0/P/+ERf3c1ehbu8hsjMjlN/Z/FB0djVxXJJju9t4fSUlFpFclzXjDuK+9p6Dm0 OKb7dxo5Bk3BCKwh6NxSO7zwIaeIfloEwdXNI2PdPvjdhQwH4dGTaeKmbfLme5+ED7mF 3J8vThhm7SOqpZ4RQsDXNNFEXuvQdeZsRnWVgLmMCwDIuMWMUGaQYXvVUYgQgvLQ4BoB 61oDfuL7KlTYBSXfw6nRMh7EzqHfVzqreF2AT/aqr/c3pe29ag1FUWEgLPo4GVpCuxDp mkrA== ARC-Authentication-Results: i=1; mx.google.com; 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 64si10037816plk.279.2019.03.18.08.51.35; Mon, 18 Mar 2019 08:51:50 -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; 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 S1727400AbfCRPs6 (ORCPT + 99 others); Mon, 18 Mar 2019 11:48:58 -0400 Received: from sauhun.de ([88.99.104.3]:36790 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726808AbfCRPs6 (ORCPT ); Mon, 18 Mar 2019 11:48:58 -0400 Received: from localhost (p54B330C6.dip0.t-ipconnect.de [84.179.48.198]) by pokefinder.org (Postfix) with ESMTPSA id 41E752C2817; Mon, 18 Mar 2019 16:48:55 +0100 (CET) From: Wolfram Sang To: linux-kernel@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Lee Jones , Mark Brown , Support Opensource , Wolfram Sang , linux-input@vger.kernel.org Subject: [PATCH 0/6] mfd: da9063: remove platform_data Date: Mon, 18 Mar 2019 16:47:52 +0100 Message-Id: <20190318154759.21978-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When working with this driver while debugging something else, I noticed that there are no in-kernel users of platform_data anymore. Removing the support simplifies the code and gets rid of quite some lines. The biggest refactoring went to the regulator driver which could maybe benefit from more refactorization. However, there is no in-kernel user of that driver, so no testing. I left it at this stage. I think the changes are still at a level where review and build-testing will give enough confidence. Besides the regulator thing, it was tested on a Renesas Lager board (R-Car H2). No regressions encountered. buildbot was happy, too. The patches are based on v5.1-rc1. I'd vote for all of them going through the MFD tree. Looking forward to comments! Wolfram Wolfram Sang (6): regulator: da9063: remove platform_data support input: da9063_onkey: remove platform_data support mfd: da9063: remove platform_data support regulator: da9063: move definitions out of a header into the driver mfd: da9063: remove leftover platform_data definitions regulator: da9063: platform_data is gone, depend on OF drivers/input/misc/da9063_onkey.c | 11 +--- drivers/mfd/da9063-core.c | 20 +----- drivers/mfd/da9063-i2c.c | 1 - drivers/mfd/da9063-irq.c | 1 - drivers/regulator/Kconfig | 2 +- drivers/regulator/da9063-regulator.c | 61 +++++++++++++------ include/linux/mfd/da9063/pdata.h | 114 ----------------------------------- 7 files changed, 49 insertions(+), 161 deletions(-) delete mode 100644 include/linux/mfd/da9063/pdata.h -- 2.11.0