From patchwork Tue Feb 13 22:02:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 200703 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp840260dyb; Tue, 13 Feb 2024 14:20:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWGQCWTUt08TMS4H248e6BKg9D0RY9RCatx8ZE0lREwdJgLUScaUmOzM+Z7/d+KUkMrjSQcaVa+hzkwhRkPcixslW0ERQ== X-Google-Smtp-Source: AGHT+IFnhtllUEHLFGh673mT29Lwo6sMi1077PSAyLeg+9cOjGgd9QOa3zouD5Q4Pqwcer2uZM+7 X-Received: by 2002:a05:6a00:6a08:b0:6e0:8f89:f62 with SMTP id hy8-20020a056a006a0800b006e08f890f62mr490380pfb.31.1707862850053; Tue, 13 Feb 2024 14:20:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707862850; cv=pass; d=google.com; s=arc-20160816; b=LFIbTxaHy1A8Wq6qNlccv2oWpwNxTlLHZ8CgoP1Jqv2s1mkvFfu6bHjCTbeKC1Xw5f pfYlYuCAg0JxiIC/rGcQKkdTxgAj5DjGuRNqc6tITrGUEWn7vLAm0H3AHw2JqEbs4V/t Y+qhzhQ/+jgmaZQfV0MKfWlgm15i5tnMp4Pp05yXtNuhJCuIGYD8ACiTE5gszTsmQiVj nTuQdJBkyDcExDEJcpjYqwQ20H3wdAS0Mr5nOMCLUwjLT3FRgQrMEsxryyNiJVwzIwML HqxXSx2vgWVwclZfATI/DY1puASqv5wNcXAA3dBXTMHu/6FYpf5nBXCvsV1FhJ6nb1Be eAxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=3iz4DCLUOGZx4OfgLPz/FN/m99Q5bIPUkOtswq6lKVY=; fh=2/YuYM0n0gxLDwXuJK/8vx/PDWKwP6rs0w56l6jsFw0=; b=ilXJUvh/FMSkyD5a4K8XKtzofWR5CySKZAZyGG8LTK6X728swB0qCXVxnOTK9rpvnX Ug5SockqjyCXe4VrBEuZnlA6AcjR5IgaQYHncmdi+ny/w2r/xj7B5p69Efl9BMmAtt6Z VGzuTUHl9BujOYA1B7+7T6TK2W+WfUNbgBn1VxSNL+/2qq/jC1MrZh4KA7UTu92T6hLo W9U9EpdFeHvoIByjGDgF78G1jquJ7j48/nX1nDpK8PohgYfdOcsJFE8GZRdCoT2dIyU6 QjBIylePR33brjPNwOwjsAdSW5Yq1BkAO7s0q2rRC8J/9ZToy1wy5UCKLPGzrZisK6VZ Ding==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=lYIG+yiq; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-64411-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64411-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVnsHg6I9V1Fb2aYAVQHbBzuDPW2EjjRdzdCC95F4zgPLHma0TuZe6/rgVCHAxg5nD3y0r3RwPhU/hG7bDkyiXOYWmk1g== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id du25-20020a056a002b5900b006e07bc63100si7272473pfb.207.2024.02.13.14.20.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:20:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64411-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=lYIG+yiq; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-64411-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64411-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6126C294037 for ; Tue, 13 Feb 2024 22:05:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC6F462A16; Tue, 13 Feb 2024 22:03:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="lYIG+yiq" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3078626DF for ; Tue, 13 Feb 2024 22:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861784; cv=none; b=ZUbbS8qRZAl4IL+owfUpqKHj78U7KXYKR/bJfcNmmRff8JtIjseEqKiyQOwliu4nviokdIdyYir505VzVCLZHoGeiChA2Be9YmdfhS7ZDTdI5BMt0dUfeJNuExJQr5xxkqXGSeWRYan3z6JB7rGkoI49NeykguslrxCPBsWovag= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861784; c=relaxed/simple; bh=s46cqh5WXM0+I/dyk3J0iZj7PDngod2/SdoD02i9s4s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iD2D1McpXPS4L9lesZ3buu/iJ2mvWbJgvW+VJkmVobh967XrzWUStRA5IIqG35vkBt2l3vcGZ6MlapMX9AFJBRVs/UiiYbDRN++kEgqAuFrCM9+8TxCh3oTOdpB/8PfGQRZ1bHWrKJlCmVz10H2l/IGYHAq8BDANqu63vlf1Dy8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=lYIG+yiq; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=3iz4DCLUOGZx4OfgLPz/FN/m99Q5bIPUkOtswq6lKVY=; b=lYIG+y iqbN1lyV1utz9rereyEYAd59LbFW5OzbV3JEFK7Dd1MC72lMz3wsYntlJcX/T0J9 /i9rvsZyitRLDq4RSqp9jOwTNmd3zdjBJpPzdd+39jK7ZYiT/B7+CH+g+KV22Dyg WZqZ29LPlEySsfSIe+2JhT2eWiYN2fNd5zORlNaRwU1Md1Grv6gELo6I4dH7+YSA HbyBK/cKZC/XHnUAcfWveZdLfDimgO2opfMlvvZcO+HFHG+wSo8H3v/2P2k3nyRx jlddt/Uo0xhJyIpuDJFytV+iyBCqsfrmbBC5E2/mk/ZXNMOLLrKjeM3owX59cdE2 0gob7Hj/RPNleoqg== Received: (qmail 1211754 invoked from network); 13 Feb 2024 23:02:51 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 13 Feb 2024 23:02:51 +0100 X-UD-Smtp-Session: l3s3148p1@T/g0jkoRwN8ujnsZ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Lee Jones , Wolfram Sang , linux-kernel@vger.kernel.org Subject: [PATCH v2 1/6] mfd: tmio: Remove obsolete platform_data Date: Tue, 13 Feb 2024 23:02:20 +0100 Message-ID: <20240213220221.2380-9-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240213220221.2380-8-wsa+renesas@sang-engineering.com> References: <20240213220221.2380-8-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790823995777542864 X-GMAIL-MSGID: 1790823995777542864 With commit 8971bb812e3c ("mfd: remove toshiba tmio drivers"), all users of platform data for NAND and framebuffers are gone. So, remove definitions from the header, too. Signed-off-by: Wolfram Sang Acked-by: Lee Jones Reviewed-by: Geert Uytterhoeven --- include/linux/mfd/tmio.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index eace8ea6cda0..bc53323293a3 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -103,31 +103,4 @@ struct tmio_mmc_data { void (*set_pwr)(struct platform_device *host, int state); void (*set_clk_div)(struct platform_device *host, int state); }; - -/* - * data for the NAND controller - */ -struct tmio_nand_data { - struct nand_bbt_descr *badblock_pattern; - struct mtd_partition *partition; - unsigned int num_partitions; - const char *const *part_parsers; -}; - -#define FBIO_TMIO_ACC_WRITE 0x7C639300 -#define FBIO_TMIO_ACC_SYNC 0x7C639301 - -struct tmio_fb_data { - int (*lcd_set_power)(struct platform_device *fb_dev, - bool on); - int (*lcd_mode)(struct platform_device *fb_dev, - const struct fb_videomode *mode); - int num_modes; - struct fb_videomode *modes; - - /* in mm: size of screen */ - int height; - int width; -}; - #endif