Message ID | 20240209015817.14627-9-wsa+renesas@sang-engineering.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-58925-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp575985dyd; Thu, 8 Feb 2024 18:00:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGd9aY6Z7VeGi9Ft9LRckojg4Thdn3APF1m5IZaZyj/bZ9Cy+8Uu9kjqdX8MzL96M2enTWd X-Received: by 2002:a17:906:40c6:b0:a3b:eaa3:ecc4 with SMTP id a6-20020a17090640c600b00a3beaa3ecc4mr73091ejk.60.1707444002131; Thu, 08 Feb 2024 18:00:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707444002; cv=pass; d=google.com; s=arc-20160816; b=Ml6MnGGHh0h0zav0rKvPQbWeswA1WvUMr+DZj57e0amR+d8poxufkHQacXbS0ld/wo 3BeS0QAgSEF8wud6YHrQJbIko4mwO0Abd61GewiIu6v/a1YlTveKr23OobuyFd2yNPJn qDIIjhGWTE84cXA+IOybpE5HHZwpqAWSu169F9p0f2l9DWhxc+LI5AasZ7j9IPznFm6s 27XtagkhpybSJatTvheEn9q6x9SqWL1/Q2OdRu7Ubl0f9TT7TWCNKVzslgx0OA4KCt/7 3LpterUFs42r8na8jJdid7EpNYKSeMQ1g4z70314dFpbHL7fVnXR16tH6e4yNbhUupJz KUuA== 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=hIePBzSeO/3D5e76oY9PllApDN+OlYoSau4JtfpyyAk=; fh=i+ys2COGaAfC7mLwNOTQmNPsVrMwT6hIKfIeXUQ2lBo=; b=ixyaNj8kTbBAcARNxGZW5LXZCMeieIHRenZiUTmHMG+76bQMmFxwXq4CYhsJKnpGFI Z7F0KtNAeLCueW2Qr3OWxCkj/6WnDgCPM5usPLbkQlcB1tPTPOsQcQjirhuUlr44KcFY kMJ2m78S6ptTbFghLehEjSDFOfGAtOQCxp/pQtI1RTSXdPH0dZStO/k7QvBdQgHe4R2U QC27dBX+fqU+LMZfJiB0ljw40U81K3h+jeFR3dtrt2fPJfuYiEBIzbVPO5qkLO1xTSlj ZHFRQe0oPxYDH8KAWXHIvK/uUhdcVPHsNEBuRa/r6P0wxMviIlIFiu+EYj7JeN2sYQMN JKmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=Jd8arB0i; 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-58925-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58925-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWQTbDfPqXkkI0mHgSdZgeITjqC4gk9LHkzo8AO4OQKPv3NfesaUfKtRYWLXAJUGAU3O1HuRuWqzlstIFwDwku+fCsBaQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f18-20020a170906049200b00a38786d5e93si277166eja.518.2024.02.08.18.00.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 18:00:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58925-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=Jd8arB0i; 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-58925-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58925-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 am.mirrors.kernel.org (Postfix) with ESMTPS id B8E521F2778A for <ouuuleilei@gmail.com>; Fri, 9 Feb 2024 02:00:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D783CFC19; Fri, 9 Feb 2024 01:58:59 +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="Jd8arB0i" 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 59CF34C98 for <linux-kernel@vger.kernel.org>; Fri, 9 Feb 2024 01:58:52 +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=1707443936; cv=none; b=u/EaKnthXqCj5wSl7e6LtafLXkmXk3haacbcp66/UYfHRXjewj2tPTdLvOLmgPjVnJ8IBq15GkIF3vCn4zH4ETsoMNpUi0S1b6oDKIQBLs1qzfvocf0ILk8WPmBXO8/xfXvY/fH/qsgLLTzY+zcPHCtQncp/qL2wLC02hS2/cF8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707443936; c=relaxed/simple; bh=9K4qlpEjpmKzBQgUkXVOyjVzOou7v33BoUG8m6CCbGg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Nfzgjyto8YJ5DciCs88kurPr0h1e5vgs4+cPgqQ7+stMq6XK2WNVrtXxThnTgxqwCTHhGeExiaIffgInEzkuQT5fDZyC3VlhIrGPxcWzv2Yucwg93LT8eIuxz5Lzz1UtJMkQvh/mPVZoyj/cTCl/88fQcB6JghCAGYaz9hkRn6w= 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=Jd8arB0i; 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=hIePBzSeO/3D5e76oY9PllApDN+OlYoSau4JtfpyyAk=; b=Jd8arB 0i5IIIb0whlyKCAitOeYKO1e7xb+GvxxzHcNJ5DKkhmkybovHTeuPK7r9ojaZ2aU CpnWUxAFKB1/6PCrDrnbQ2kQc0vcNH2wEn0rFZ5CrA5bmBMt/7Pn66V8puLBNg9h BdL9loFJI/xBSBM3m+R8V1RH7g1s4VgBvLLzWSkGe+DuVrj+rzhXsYNpQtxMGTWu w/VMNozjtDk0iVULKmdrXMCUq6UboeoP8VuRkWi701M0A3Lva9cQiq+44+C3dSCh FzPAvuzvJxNkgr2na5+7VqJi98JBaCDacvKeHm3g8p3vrXgRZ8jp2fOdehLdU/Gc rU2drZp6BMsFEaLQ== Received: (qmail 2792299 invoked from network); 9 Feb 2024 02:58:45 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 9 Feb 2024 02:58:45 +0100 X-UD-Smtp-Session: l3s3148p1@TGKaROkQdLMujnsZ From: Wolfram Sang <wsa+renesas@sang-engineering.com> To: linux-renesas-soc@vger.kernel.org Cc: Lee Jones <lee@kernel.org>, Wolfram Sang <wsa+renesas@sang-engineering.com>, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] mfd: tmio: remove obsolete platform_data Date: Fri, 9 Feb 2024 02:58:16 +0100 Message-ID: <20240209015817.14627-9-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240209015817.14627-8-wsa+renesas@sang-engineering.com> References: <20240209015817.14627-8-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790384801710936382 X-GMAIL-MSGID: 1790384801710936382 |
Series |
mfd: tmio: simplify header and move to platform_data
|
|
Commit Message
Wolfram Sang
Feb. 9, 2024, 1:58 a.m. UTC
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 <wsa+renesas@sang-engineering.com>
---
include/linux/mfd/tmio.h | 27 ---------------------------
1 file changed, 27 deletions(-)
Comments
On Fri, 09 Feb 2024, Wolfram Sang wrote: > 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 <wsa+renesas@sang-engineering.com> > --- > include/linux/mfd/tmio.h | 27 --------------------------- > 1 file changed, 27 deletions(-) Acked-by: Lee Jones <lee@kernel.org> > 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 > -- > 2.43.0 >
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