Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7634022ybi; Mon, 22 Jul 2019 17:22:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzACReUsDPTWUdf+8XfqskuzbmljG0hBbH1BvCfSO5K1iZnx5zGE5Z9XXcKc29cTVTEs2Hu X-Received: by 2002:a63:c748:: with SMTP id v8mr42539073pgg.418.1563841340294; Mon, 22 Jul 2019 17:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563841340; cv=none; d=google.com; s=arc-20160816; b=FLQM2aixJUp27Gl6JTs7jRTtCYYpcWvsXE1RqqdmHG9Guw66n3W8Ouy5MS8pupM80X Gri0liztQWQPfbtrbhtsZZg6o/sXuiBOFzsa4YHs50/KUrXR1Ej0OTEev248Ax3/nrtu +sSiLHj39h+69RpVKMvRgFF6NdPU5SnNk4Fe6z/n7uYm/1+yzEtaI/OhK4OOex7OzVp1 6i4wUlvzvPEl9AD22s2GNblOnh6U4fvG3aeif73wHOaT8UNe7hwo3KR7ogbHjLkNSPPG 9iu+M4fSWsU7GDx+h74C4SR7e6xZ8aBX+B2FuusTEttau5AUKvjkwgBGIoB5tFIKxXBv oIBg== 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 :message-id:date:subject:cc:to:from; bh=ul+PI1rv8wulrQPkih9ZzlRCZsXZeBCUgATUanGrmIE=; b=n3tTHFMyDcafsgUhIP+xvwCsy+HyYfLm5kwNwRaxDC2UiJr35B2yXkFCwbcJd5lhA7 jlpgDHjsvPLJdjDAahZ8s5hM5tTzzkfSBCaHXueGAX8t0sb5+m3YhOn8pxl+KQlCHeS4 pArKyOo/ivqndA+msYUP7WxBYuVj6KSRJj/EctAqtFAQTaeYdHRwXjJ2Uo/5Kovpx283 CNs441MjMSIFy9ek5LoBV3Ot1z+obPjlCrfI27NX9AujEYJv5zZYQyBK5WWHwTbVG2jY h/VszuC57rbAGmYUxuFccG4THiU6bjHiKKnTLfYmJ0EFnXy0HxWVDpyBsSljIUfhvCTu 5NSw== 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 m11si10848353pgd.261.2019.07.22.17.22.01; Mon, 22 Jul 2019 17:22:20 -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 S1727994AbfGVS04 (ORCPT + 99 others); Mon, 22 Jul 2019 14:26:56 -0400 Received: from sauhun.de ([88.99.104.3]:43034 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726590AbfGVS0z (ORCPT ); Mon, 22 Jul 2019 14:26:55 -0400 Received: from localhost (p54B33E22.dip0.t-ipconnect.de [84.179.62.34]) by pokefinder.org (Postfix) with ESMTPSA id 65BE34A148F; Mon, 22 Jul 2019 20:26:53 +0200 (CEST) From: Wolfram Sang To: linux-kernel@vger.kernel.org Cc: Wolfram Sang , Support Opensource , Lee Jones Subject: [PATCH] mfd: da9063: remove now unused platform_data Date: Mon, 22 Jul 2019 20:26:28 +0200 Message-Id: <20190722182628.7533-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 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 All preparational patches have been applied, we can now remove the include file for platform_data. Yiha! Signed-off-by: Wolfram Sang --- include/Kbuild | 1 - include/linux/mfd/da9063/pdata.h | 60 -------------------------------- 2 files changed, 61 deletions(-) delete mode 100644 include/linux/mfd/da9063/pdata.h diff --git a/include/Kbuild b/include/Kbuild index c38f0d46b267..68aa094fe86e 100644 --- a/include/Kbuild +++ b/include/Kbuild @@ -313,7 +313,6 @@ header-test- += linux/mfd/as3722.h header-test- += linux/mfd/cros_ec_commands.h header-test- += linux/mfd/da903x.h header-test- += linux/mfd/da9055/pdata.h -header-test- += linux/mfd/da9063/pdata.h header-test- += linux/mfd/db8500-prcmu.h header-test- += linux/mfd/dbx500-prcmu.h header-test- += linux/mfd/dln2.h diff --git a/include/linux/mfd/da9063/pdata.h b/include/linux/mfd/da9063/pdata.h deleted file mode 100644 index 085edbf7601b..000000000000 --- a/include/linux/mfd/da9063/pdata.h +++ /dev/null @@ -1,60 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Platform configuration options for DA9063 - * - * Copyright 2012 Dialog Semiconductor Ltd. - * - * Author: Michal Hajduk, Dialog Semiconductor - * Author: Krystian Garbaciak, Dialog Semiconductor - */ - -#ifndef __MFD_DA9063_PDATA_H__ -#define __MFD_DA9063_PDATA_H__ - -/* - * RGB LED configuration - */ -/* LED IDs for flags in struct led_info. */ -enum { - DA9063_GPIO11_LED, - DA9063_GPIO14_LED, - DA9063_GPIO15_LED, - - DA9063_LED_NUM -}; -#define DA9063_LED_ID_MASK 0x3 - -/* LED polarity for flags in struct led_info. */ -#define DA9063_LED_HIGH_LEVEL_ACTIVE 0x0 -#define DA9063_LED_LOW_LEVEL_ACTIVE 0x4 - - -/* - * General PMIC configuration - */ -/* HWMON ADC channels configuration */ -#define DA9063_FLG_FORCE_IN0_MANUAL_MODE 0x0010 -#define DA9063_FLG_FORCE_IN0_AUTO_MODE 0x0020 -#define DA9063_FLG_FORCE_IN1_MANUAL_MODE 0x0040 -#define DA9063_FLG_FORCE_IN1_AUTO_MODE 0x0080 -#define DA9063_FLG_FORCE_IN2_MANUAL_MODE 0x0100 -#define DA9063_FLG_FORCE_IN2_AUTO_MODE 0x0200 -#define DA9063_FLG_FORCE_IN3_MANUAL_MODE 0x0400 -#define DA9063_FLG_FORCE_IN3_AUTO_MODE 0x0800 - -/* Disable register caching. */ -#define DA9063_FLG_NO_CACHE 0x0008 - -struct da9063; - -/* DA9063 platform data */ -struct da9063_pdata { - int (*init)(struct da9063 *da9063); - int irq_base; - bool key_power; - unsigned flags; - struct da9063_regulators_pdata *regulators_pdata; - struct led_platform_data *leds_pdata; -}; - -#endif /* __MFD_DA9063_PDATA_H__ */ -- 2.20.1