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 From patchwork Tue Feb 13 22:02:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 200704 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp840341dyb; Tue, 13 Feb 2024 14:21:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUseatIwcysvXlEjkaEHjF0gz0ChYcK42SuUREs0xaFtCfx3gfPlbMNm2d36eGeeqRE7JrRvEcjMveMNB3ej8erpENi3w== X-Google-Smtp-Source: AGHT+IGdIAwzHRTYrRxtPCUoc0tDTix0M/mPBK855kNlyaFTDq7c4JCVj5RbuIz0ulid2ryjiOz2 X-Received: by 2002:a17:903:328a:b0:1d8:b2f4:28ce with SMTP id jh10-20020a170903328a00b001d8b2f428cemr833478plb.42.1707862866353; Tue, 13 Feb 2024 14:21:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707862866; cv=pass; d=google.com; s=arc-20160816; b=mxaGp5q5MxUm7ZwwaPkssLTMusj0eh29zG5gNTuRl7lHxYmGcSRJS1AzSJwg0FfHqe 5495nzgaLwr+zOdlITQC1053Fn+DnXWw3lR4WkvseAdAMZ2YdfSUs4jotJrXeISswyLH moP24u3h5SL4Nkgjo/03VIRlD3nIk4NaeKl1ogEwCBKiGcrCneDu+ZBt9VaKVwAw+hqf rhSav/9tM0yiCjcuPrDEsc8LSbF9gKq++7ITf+hh9hi5CPrM3GWB84SRn4EuW/CUmzi4 nY+3LPzZYHY6dgbzxodJNFGWEMIsFfHxRASgUhjEyYsaurVANtDHaGTloS60bJ2J9rM7 R/zQ== 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=vQkmh2vsmn/J5N6MTBGNu3z1ML3BmhRPZQnF3hlOJK8=; fh=qmv0lMqVa9bepjgX09m3lcK90my4D03YjofeTT5jVsk=; b=TmFsNR3U76VU0o4/xbYMljIkCACJHSfCA8e/8QVbc2mePDuPPwJzk41KPDOHK4vlTP YEoHkrmEjABEkS4fex+YcfIp93/RFM/J9QT/YccoXHMuGyrPZmgRNjZlExh88ussH3Uh h1uOw7iKESfeN53mzRVA8XByFMDDJ7oax0J17Hzhd/9BSLguJJMmG1OKCTmHFmPLuajb JklNtJb97tvqGP1NLn1iVvqWS6mc7AVyp5vL0a+H1NPaQKMEwTyBVjMiQGnHMqYiipDP IgkoCvIIS672x4OLCsRArtPmH0ENE8biyh22+1ZH6jKvVL8r2xbMl2PkBwXf6Ss3C0dR ze3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b="YX/tgL5l"; 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-64414-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64414-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCW76iRjJ2nb+c9Qc+W1qC7QJkJR9b/FgoyolgOpK7Ow6yGW7H2hHo6Q5q+T+x1X9eAGO0GypU2scYhkeJtcmipIryP9CA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w14-20020a170902e88e00b001db43c36b64si1171998plg.467.2024.02.13.14.21.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:21:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64414-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="YX/tgL5l"; 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-64414-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64414-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 19F022946C1 for ; Tue, 13 Feb 2024 22:06:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4996A63136; Tue, 13 Feb 2024 22:03:08 +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="YX/tgL5l" 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 92CB7626CD 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=1707861785; cv=none; b=h+6eaHJN4MPzAqasbfYf2zYBp+qy+aWW9qhK6Ar104qMlLL2miBi7Axt85Y/1QzSA4r6+yB2QJFZ0dxjmHYJT+C1/yu2eVwbbCwzykqaCDibjXXsxmweU7aHJs9t2Wep3Pu2RIuoExEXZBxj2F7xOxd0G14ry4LiLQbr58rBtnc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861785; c=relaxed/simple; bh=hpce4kBYHxjPck6QzyV4av0S8wG/q4mb39UZeFb/XX4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iiyR0FrojhOY/VAricbQsnlcfPbOrKElpwSvnjlppHn5ZqnCe45S0GUivQWsvN4xDJOxQ9m6c117nIL5ENt5qNYUGHVpgNm8716zezhDldTqxYNXHK6WuXzTeJCMSDIEpMMA2w39DZL4iJavPBEgtP7CLb7v7Dt5wGlJxFwomPw= 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=YX/tgL5l; 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=vQkmh2vsmn/J5N6MTBGNu3z1ML3BmhRPZQnF3hlOJK8=; b=YX/tgL 5lBgJPY5mdMuLXoO63/NGZ37Juv2wLBIefaQQn5QDEBirDYbGJK9CxEz6Xqb+U44 BWtLABjp32jfNL0F5X/5+G6QjvsV06Eb2gN2vJeethhw85FxHu9+x0Zt+lUt+hvq uz73krUF/tM2Y14jT2BC85Euf1H+XQlbXubcIz3vJQkB5dSrFlZe8/P0ly7nyJa/ 0nz6akXlyWmr23xeqGjUMa4pR1A1B1HKzZDtDdkM6HRmhd6woNGm7+Rn/nBFARH1 tL949dnqGXF1xrx7LjZ9dai8GrL0F/s/UmHthpxcGAC7RvJKYDjuVm2PxOPPL4MG vBcrrtr6u6eNesTg== Received: (qmail 1211785 invoked from network); 13 Feb 2024 23:02:52 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 13 Feb 2024 23:02:52 +0100 X-UD-Smtp-Session: l3s3148p1@g45CjkoRyt8ujnsZ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Lee Jones , Wolfram Sang , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] mfd: tmio: Remove obsolete io accessors Date: Tue, 13 Feb 2024 23:02:21 +0100 Message-ID: <20240213220221.2380-10-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: 1790824012617622065 X-GMAIL-MSGID: 1790824012617622065 Since commit 568494db6809 ("mtd: remove tmio_nand driver") and commit aceae7848624 ("fbdev: remove tmiofb driver"), these accessors have no users anymore. Remove them. Signed-off-by: Wolfram Sang Acked-by: Lee Jones Reviewed-by: Geert Uytterhoeven --- include/linux/mfd/tmio.h | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index bc53323293a3..4223315d2b2a 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -10,31 +10,6 @@ #include #include -#define tmio_ioread8(addr) readb(addr) -#define tmio_ioread16(addr) readw(addr) -#define tmio_ioread16_rep(r, b, l) readsw(r, b, l) -#define tmio_ioread32(addr) \ - (((u32)readw((addr))) | (((u32)readw((addr) + 2)) << 16)) - -#define tmio_iowrite8(val, addr) writeb((val), (addr)) -#define tmio_iowrite16(val, addr) writew((val), (addr)) -#define tmio_iowrite16_rep(r, b, l) writesw(r, b, l) -#define tmio_iowrite32(val, addr) \ - do { \ - writew((val), (addr)); \ - writew((val) >> 16, (addr) + 2); \ - } while (0) - -#define sd_config_write8(base, shift, reg, val) \ - tmio_iowrite8((val), (base) + ((reg) << (shift))) -#define sd_config_write16(base, shift, reg, val) \ - tmio_iowrite16((val), (base) + ((reg) << (shift))) -#define sd_config_write32(base, shift, reg, val) \ - do { \ - tmio_iowrite16((val), (base) + ((reg) << (shift))); \ - tmio_iowrite16((val) >> 16, (base) + ((reg + 2) << (shift))); \ - } while (0) - /* tmio MMC platform flags */ /* * Some controllers can support a 2-byte block size when the bus width From patchwork Tue Feb 13 22:02:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 200686 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp834801dyb; Tue, 13 Feb 2024 14:08:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXVXNyFjQEJfPLy02Evf4xFrEvCBR5LSCbRbl4txZvaO+CIH1bi9LxZxJTT3h7MgepYTf3ZnukGpxITC3Wf0AmfwNSFDQ== X-Google-Smtp-Source: AGHT+IGRIwB0MCLdObUmQGTlzBKE1eiIos4PSpjBYim4+ci1MLEExmYNZ98S6ImFN+Zl4Mu83Ioq X-Received: by 2002:a67:fa14:0:b0:46e:d05c:bb96 with SMTP id i20-20020a67fa14000000b0046ed05cbb96mr761809vsq.9.1707862086539; Tue, 13 Feb 2024 14:08:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707862086; cv=pass; d=google.com; s=arc-20160816; b=IYWPtPZIyqPsHTcrWUA/oLALs1+M3r2rYnb3U4nqwORSlqKAD6ZwqC22CQlHbpbOHS o2P/0E8PQFY2ck9TaIuKsWsb9qM0OuyVaXes+JBSVUfLwpXpL23p7AyZlWRGZKG5NyBf ftDmEwKZJdBEmZ1M+/tMdR95uR33A6+RM53zKVS/DxFSR2qPQ0+WjcHQvQJF76yMEilk BHmL4y2Fc4qiRM35WDVPrT5OBcjsAVEfqhaVp8eQ5QapMvm68b9uaEPZjBd6NPzpC2um qd5fHjTt6UOPp/KrThket+vghxlx9szX6J4phb4w0o9vPx32ndruimuHrxlnFTO7fjFD CFvA== 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=QVjbmkicP3lKRzsUEP3UTuSHN1nf5jzXesx7Ut3oggE=; fh=D/1boev0kQibLrGi47FAi81Km1Pld3mr/9VeBAg1wD8=; b=cDV5fR1ez8bhBklh6yJjsVdEHiLfMVax8Pgo971getypNruW6jGVfjvg9WnxfP3c3U ShGonrlNxbRP12/nWx2COLeVXk3dO1iiGn6QeV/jI5i/BRIKPfEgCDl2a++cREyMpjtx d1aLQ3QqftK55SKXp0iulxdmHwAjQG34p3mdNe5LJeW2YEsOx3manWmdnTf3argSqGtV 0zgAW/uakHpXidsr9sczjXv3JTd5Ph2fJRr1nsZVZ5ZYcPpmiirVoG8sT/uduGRo2+03 8Oce2x0SwVW4sySItJD7rp8qtpqyIBPzHBtg+YT/SQwF8TYfS5gcMXlpCKZTDLV47IyW NwKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=Vn+ARP2H; 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-64415-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64415-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXIaHaKmKc+OVL6Oh4f/eajiKbiRGTi0v8zg/NYlexoj13yHiW7sc35I0LDtkoMehOc4VhJYG9w6EnIaTPwLfs0VcNNXw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j9-20020a67ef09000000b0046b186f4128si1224031vsr.269.2024.02.13.14.08.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:08:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64415-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=Vn+ARP2H; 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-64415-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64415-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DA7E91C28967 for ; Tue, 13 Feb 2024 22:06:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCAC664A94; Tue, 13 Feb 2024 22:03:08 +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="Vn+ARP2H" 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 8F473627E6 for ; Tue, 13 Feb 2024 22:03:00 +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=1707861786; cv=none; b=TGiWuukEA4TlJwvnRCUtKGPsCadl6R7L3zHOr4QaljLsrbo4dSACbww94aApN7t6rO8Zvhf1K0oBROPokNbEMxYedPtK7oYgFOX4hm27IZrGDx9mxXsMAnfl0nnGVAhIVRorMjxoohjTwSCM1qLUQ3mcQH63oAUEe9+kscYFB1E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861786; c=relaxed/simple; bh=4Cv/DKAqwiMA7u3CWshnEujZInnSy/3vqqV9OZtXUZw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XQWGnGzowIpGgXXD4RapuBGJb71AKgpOrQiasEOukgziJk8f8PWaLvjT0QnMByxfxLKMlr5IPT6DcxPNptCyr4WToMTd3lmDv4Q8bK26phXL4k1o404/DuU9SVqmpApo9P5MsA4tAWPnDgrX4RCyVSNrQreB36kGi2EbWY5rog8= 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=Vn+ARP2H; 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=QVjbmkicP3lKRzsUEP3UTuSHN1nf5jzXesx7Ut3oggE=; b=Vn+ARP 2HJ1vJa25RDdk83FJ+sBNhL0XdCu0s8FlqER6BLSUkqR8pHNwYxxKD8pPB33M8YE Pds3/xRfold0LAcpDpz289HO7ei2aGrj5wCvuzNs4RnaYL1syPLPj5LYb8jAGRfz VAiQ+Cg9PSammZQvuj3EY2Vjp1qFkuqL8gyzaJ00/JNJdR6+3Z0uFTLrKwZTkjpB TqCD4+VCNpyQ+gaU9ZXNJ9zT33zR0g0ASbSt6w2Zf4agbiQkMxb4YOggXKJxhq1d JBxg5ihgDVC6aD5fsXQpuzzAnsB3cPVQNyC3jeBJkqTFLw4n1D3BqANfK7/fc874 Q0pXfz/EK6kqBpNw== Received: (qmail 1211814 invoked from network); 13 Feb 2024 23:02:53 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 13 Feb 2024 23:02:53 +0100 X-UD-Smtp-Session: l3s3148p1@a5pQjkoR1t8ujnsZ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Lee Jones , Wolfram Sang , kernel test robot , Ulf Hansson , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/6] mmc: tmio/sdhi: Fix includes Date: Tue, 13 Feb 2024 23:02:22 +0100 Message-ID: <20240213220221.2380-11-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: 1790823194852734048 X-GMAIL-MSGID: 1790823194852734048 TMIO uses an of_* function, and SDHI uses pm_runtime functions. Add the includes directly, so we can clean up another header properly. Sort the pagemap include while we are here. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202402070323.JpYfFtkQ-lkp@intel.com/ Signed-off-by: Wolfram Sang Acked-by: Ulf Hansson Reviewed-by: Geert Uytterhoeven --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 3 ++- drivers/mmc/host/renesas_sdhi_sys_dmac.c | 3 ++- drivers/mmc/host/tmio_mmc_core.c | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c index 53d34c3eddce..24e1c17908d7 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -16,8 +16,9 @@ #include #include #include -#include #include +#include +#include #include #include diff --git a/drivers/mmc/host/renesas_sdhi_sys_dmac.c b/drivers/mmc/host/renesas_sdhi_sys_dmac.c index 9cf7f9feab72..c18581897f8a 100644 --- a/drivers/mmc/host/renesas_sdhi_sys_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_sys_dmac.c @@ -16,8 +16,9 @@ #include #include #include -#include #include +#include +#include #include #include diff --git a/drivers/mmc/host/tmio_mmc_core.c b/drivers/mmc/host/tmio_mmc_core.c index be7f18fd4836..c39141a5bd23 100644 --- a/drivers/mmc/host/tmio_mmc_core.c +++ b/drivers/mmc/host/tmio_mmc_core.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include From patchwork Tue Feb 13 22:02:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 200715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp850342dyb; Tue, 13 Feb 2024 14:46:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU/o9++v73uxdMyi7z8CeCi/X3JOQNtHfHIye+GVFQRMTRSjeEsKJtSU1rTgA/h9JF4Io9curOBgVfusfs4iDL582EIfw== X-Google-Smtp-Source: AGHT+IE7pj6fbkqlFdybPlLXnjCvOR7RJx8TpOI4XIatpGaDajgqLwHCQLP4MUT7ghOWtEhOxIPW X-Received: by 2002:a17:902:e5c7:b0:1db:562c:1823 with SMTP id u7-20020a170902e5c700b001db562c1823mr518158plf.36.1707864405027; Tue, 13 Feb 2024 14:46:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707864405; cv=pass; d=google.com; s=arc-20160816; b=KkTER1QUJi/BhvQ2Zm8vA4zuVK7x8qie14o68xoIQGmy8NsT1vZl0GTqZCuFjc+Oj7 5hHJHxR/KzeR3NPHn07DQfbl6nXPT6c4zADKb8UVD2WbzcK6UMpNehqKP+L8pvzXq5XP nseQKKoXuy78FD9benGD0VEX6gsWZUS88/94wCYyvVT/ZXSq0rof2tRvDoiFoVqwNyTQ XC253ZAw7Mk63VNwcUI2idp7LhDSrXNVYWR7dh3/bRvN+wPN2JVYFO4GXdx1uusFgjQE l0Gr7Gr/d0xrkch3y339RV26mNPq4eZxmjlcy+/Nk6qSNAJbx6MC0lo8czOwslsJsT34 GrsQ== 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=4RGadmFK42r7+jXSlrZncVcHuT2aHeZYPed3MG7JgOs=; fh=F3KCCr11yiR/8L6sQWxlTCA1vM389ooHWGuOsXBL0LM=; b=lCSvwuMEUkuK+vmYKH8kwDXgj+6f9PSdB9xQm1x5FoLTER01uuVEoZMnX+q9HSyQk2 vM3+gjJywLe9+04UZMU2ed2Jbc/OBh97bRG/ivNCaRmeR8sf2rT+i3TuGpvHXjQmlqcV JiTKURv89nCdDvzwPGZe2KjlpbJWSWyPSFhbnlkMsurFVNEh5hniQ1defh+S9T7s64Om iD/EVilBBRQTtv8yrLcu0N4AvSqczDTdLMeYzR43/bR11ABMP3yR0sNT3eWLTjkeuZ32 Ouotk1RDHEi4r6/aURRvTpajsynLqctARyXrp0snR8VVOnYnN/RdKZBFfkyCRnR3v5bz C4uQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=OS9fjj4Z; 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-64413-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64413-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXnoJlbwOCHAxnIm/KnCB2cLoD7RF60FFkPQK+Wfs3v1HY3aRaiFno2HcEXdXTJzkIm3IglnT/jDg2kPrVan/Y/CYHCwQ== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id im15-20020a170902bb0f00b001d9b281c1a6si244306plb.311.2024.02.13.14.46.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:46:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64413-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=OS9fjj4Z; 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-64413-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64413-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 736DEB25440 for ; Tue, 13 Feb 2024 22:06:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCDE56311F; Tue, 13 Feb 2024 22:03:07 +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="OS9fjj4Z" 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 CB8E7627F0 for ; Tue, 13 Feb 2024 22:03:02 +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=DYEShpzfk2Cbt0eVTMM23aiAlCX7gEu7pa6Rd2ZTtGNi2YjqiQCbfuOTudNHS6+zZ1+lJ6z9wiN3f8w+hUrJcbzvNz680VrVehivmej3bqG7rpN6rWq2Q+Y4z0azJ9TN6DUNQ/xyalfLVgRocp47FM0jNMfXCfQ+FxFodEvoT6Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861784; c=relaxed/simple; bh=9BkYvB+uMFeysje96+EWS5EYkFxP2C5VX5ZTt7WVJk8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FMXQEeJd3iDxfIt9TxIGTQnfc76hLFlZvXkXMRLg+QzJT3ZskYZOImtjfg99Xg5zCknWFU2pCzARfylNCcUCJIFt9IVbJMahpr0RgXpBPFXGSg7dbRwP1cczbuAc3eW5tMofiBix2a0GB8D6ZyVNSDJWflGXzfnoNiYX/5HAAbw= 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=OS9fjj4Z; 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=4RGadmFK42r7+jXSlrZncVcHuT2aHeZYPed3MG7JgOs=; b=OS9fjj 4ZZt3P08tRewexJkJjRCtY2el7kSiRedyWwnX0BdgUQucqacWQiy/DToLADzf4YQ RjBzjpaW9TO3lz9flsurlOuASgb1YfARdV33lmpSHO1fAZ8iVewHYs43EprpDLPL bruB4BsyWY9wy6F3ayRNWoV3hu2F+26g/uWvbzX0kxXtPhg2uvb4GiYnl3OGP44B y3wBEFYV6XnQHWWNzYKPzEKXm6qlWGb5tqpnRtndPnA3uoy/Uno664yGZCer+Pyf I+hHzqgDFtciCaf2b7heUpxMsryLb6RO06FZ63mcy1sEqQsC4lktk5D+hdYJGSIN v61Mib7k0K8v916w== Received: (qmail 1211865 invoked from network); 13 Feb 2024 23:02:54 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 13 Feb 2024 23:02:54 +0100 X-UD-Smtp-Session: l3s3148p1@FXBhjkoR5N8ujnsZ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Lee Jones , Wolfram Sang , linux-kernel@vger.kernel.org Subject: [PATCH v2 4/6] mfd: tmio: Update include files Date: Tue, 13 Feb 2024 23:02:23 +0100 Message-ID: <20240213220221.2380-12-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: 1790825626567657078 X-GMAIL-MSGID: 1790825626567657078 Remove meanwhile unneeded includes, only add types.h for dma_addr_t. Also, remove an obsolete forward declaration while here. Signed-off-by: Wolfram Sang Acked-by: Lee Jones Reviewed-by: Geert Uytterhoeven --- include/linux/mfd/tmio.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index 4223315d2b2a..f71d4e507dcb 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -2,13 +2,8 @@ #ifndef MFD_TMIO_H #define MFD_TMIO_H -#include -#include -#include -#include -#include #include -#include +#include /* tmio MMC platform flags */ /* @@ -59,8 +54,6 @@ /* Some controllers have a CBSY bit */ #define TMIO_MMC_HAVE_CBSY BIT(11) -struct dma_chan; - /* * data for the MMC controller */ From patchwork Tue Feb 13 22:02:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 200687 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp834846dyb; Tue, 13 Feb 2024 14:08:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzzvcG2yG36xojejL940OY2czRQi/y96z7mW2rYCZExv0e6NjLQ6XjUllKvb3+LosXbC83LmA9sveVvkxYXUFcBxhx4A== X-Google-Smtp-Source: AGHT+IE8eZxOqI6OWNJqfdBzd+m3jCh1TSOsZqeHHtJKQh2mOqJgDX+FC7Hub98h19T5JtoBR0x1 X-Received: by 2002:a17:906:260a:b0:a3c:c451:2115 with SMTP id h10-20020a170906260a00b00a3cc4512115mr442683ejc.77.1707862093406; Tue, 13 Feb 2024 14:08:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707862093; cv=pass; d=google.com; s=arc-20160816; b=LN7qPcl55BSCUwaohU2FIaW8q+ZlCotNYPo99btbrpz+FeR/c8hF9o9FesEm7865tV oXPtKkIG1q7QtXKYJ/qLYWHCQek6XGvdKmac/1qDeF5Vi6BGkEJbWj4ell1ROnC38oeG XRt1+WVZamJ1rJAye/srpt5hRbxpuY3LzoRnq8hgoDxB6o/T+ZJaDTp9htCfAR0XapJ7 x+whJMvVJ+mpuPtHIbjp5BFdBSpo+/qxjz+HSekwWy0+4c3yId8j0TnZHj9HU8WHtEMn WxmUO2wFue0YNE9/rxYPp9hFi2X1v/G9fR/T2A6lXLujYbgsKl+wl55D3X4gTK9pcsOg ahtw== 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=/R9rxQeU7BUXa1RMmyrPVN4ROjK67IZpHdMoXe0Wxtc=; fh=OSbmOIwdjL/eETZwqxCGGm4ExD85N3+sbQ0J9ANiDzs=; b=FmSyqvFzBO0TNJw5NPVbU1uuODQlKjUXb1E/08lXZ8l1dKwDtKso1xnAM+JrYNx1Os XLQYo/6q5gj4nNlfY8ea8SUU1knjzEAIbXnfjybGVQD3X39Oo86NvyQ2aM5wgNK8vcHO obrygaqO689r5Rs0YcJMb+uDFcXUNg8PLenQy8AQZY7ZWjFMlVBigvzidMYCRbkYJjr2 GRwq1c2r4QBJoy8phbkIUQImSB8qLpRlB6TgPUY1PYwU/pE0yiXaSwyECegHioarGQpG B3wUqg+5ih60j1YqeRy2zTBhQespdvMV5uV07ivAmbExGCcQDWP8ABGYRaKzuAs1q7Ye oeFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=XfrCeWhB; 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-64416-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64416-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUib3pWX5ljQDJhiJPwnyg8XHPQLuLlmyYTeV51ua1P+tNT3CNMgXJH1qGaSh/8uAtKThX/ssW3qYuasZjxoaYduNgf/A== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y5-20020a17090629c500b00a3cef5fb400si1203448eje.391.2024.02.13.14.08.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:08:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64416-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=XfrCeWhB; 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-64416-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64416-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 096181F2418A for ; Tue, 13 Feb 2024 22:06:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB3C364CD5; Tue, 13 Feb 2024 22:03:09 +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="XfrCeWhB" 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 4F6C26280E for ; Tue, 13 Feb 2024 22:03:04 +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=1707861787; cv=none; b=aJx9gi5+nW5IYLVo2fs2BZmP2bgJWfwj7CHolPrj+gPOhpd6CWI54JpKxM0MHuvK4spYMkgriJfRx31s02y6PHSpgU/39RgBh1RPo9Nc/wNg5RnPF1glyfVZ7xYJPuNJQ6pKhKQKtSA2ygUoRyQvWcbE//k0UtR5Z/hf+99tTxo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861787; c=relaxed/simple; bh=0DPP6Qz0Q9rQtsigtC4nC1BLzOQOC0N9GzcWL+h1pnU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bzxueK+0S9drmWxak9kvFS0eHDy99yoRdvxwopyunw4UO/8n5E5HnjtTngNBSfsST63/PgBBuYRNco2eIIEwSY4n76mhRZhzW0guQuKThitGaYJqnPt3TSQGP+3j/P2pSdj3n6ldjUL022BqEKuL/xkQrIB0JuXuscNBF6acMeY= 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=XfrCeWhB; 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=/R9rxQeU7BUXa1RMmyrPVN4ROjK67IZpHdMoXe0Wxtc=; b=XfrCeW hBihKHw8R7S+6MDbH8eYSnLmoJcX28MPmqGsPpBB11dz48CygGM7WS/xviFXFbZr l+aruclM51+T/aLFe+ZrF8DNVO07pSfHomT8xmy+hSGiz8FpQXzGEKOoMABMpIKd ZC76cGTFUKUotao8nHsKXn1iQ91beVFE21JSfho9guu/wULbCkJLY17YPiuY4++6 t6Sy+AkWq2l7WON11uYUVPmOJrIGhL1aLEAsMgY3zSKN6po9EhGmpu2ukEoUoGUU w6vOGMs3Nb734IQG6qI5u3Swyfh5fnwuuLtjfCdPfKStl5MlhRbaUEkmhXi7tQqs ynLZ6fZN3HpgEcYA== Received: (qmail 1211894 invoked from network); 13 Feb 2024 23:02:55 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 13 Feb 2024 23:02:55 +0100 X-UD-Smtp-Session: l3s3148p1@lOVujkoR8N8ujnsZ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Lee Jones , Wolfram Sang , linux-kernel@vger.kernel.org Subject: [PATCH v2 5/6] mfd: tmio: Sanitize comments Date: Tue, 13 Feb 2024 23:02:24 +0100 Message-ID: <20240213220221.2380-13-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: 1790823202642410765 X-GMAIL-MSGID: 1790823202642410765 Reformat the comments to utilize the maximum line length and use single line comments where appropriate. Remove superfluous comments, too. Signed-off-by: Wolfram Sang Acked-by: Lee Jones Reviewed-by: Geert Uytterhoeven --- include/linux/mfd/tmio.h | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index f71d4e507dcb..1cf418643da9 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -5,23 +5,23 @@ #include #include -/* tmio MMC platform flags */ +/* TMIO MMC platform flags */ + /* - * Some controllers can support a 2-byte block size when the bus width - * is configured in 4-bit mode. + * Some controllers can support a 2-byte block size when the bus width is + * configured in 4-bit mode. */ #define TMIO_MMC_BLKSZ_2BYTES BIT(1) -/* - * Some controllers can support SDIO IRQ signalling. - */ + +/* Some controllers can support SDIO IRQ signalling */ #define TMIO_MMC_SDIO_IRQ BIT(2) /* Some features are only available or tested on R-Car Gen2 or later */ #define TMIO_MMC_MIN_RCAR2 BIT(3) /* - * Some controllers require waiting for the SD bus to become - * idle before writing to some registers. + * Some controllers require waiting for the SD bus to become idle before + * writing to some registers. */ #define TMIO_MMC_HAS_IDLE_WAIT BIT(4) @@ -32,31 +32,21 @@ */ #define TMIO_MMC_USE_BUSY_TIMEOUT BIT(5) -/* - * Some controllers have CMD12 automatically - * issue/non-issue register - */ +/* Some controllers have CMD12 automatically issue/non-issue register */ #define TMIO_MMC_HAVE_CMD12_CTRL BIT(7) /* Controller has some SDIO status bits which must be 1 */ #define TMIO_MMC_SDIO_STATUS_SETBITS BIT(8) -/* - * Some controllers have a 32-bit wide data port register - */ +/* Some controllers have a 32-bit wide data port register */ #define TMIO_MMC_32BIT_DATA_PORT BIT(9) -/* - * Some controllers allows to set SDx actual clock - */ +/* Some controllers allows to set SDx actual clock */ #define TMIO_MMC_CLK_ACTUAL BIT(10) /* Some controllers have a CBSY bit */ #define TMIO_MMC_HAVE_CBSY BIT(11) -/* - * data for the MMC controller - */ struct tmio_mmc_data { void *chan_priv_tx; void *chan_priv_rx; From patchwork Tue Feb 13 22:02:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 200702 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp839189dyb; Tue, 13 Feb 2024 14:18:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWldC+s0B9Mz1HxfY2HWL9OEv6Ya1UU4+xWrRU1IHa7rxeSX2C6StfzzzzKXXisU1+LwQBng5+XwHsBtAJ+3r+L369EHg== X-Google-Smtp-Source: AGHT+IGYIsBxNXIuXE+8fZyTpr6b15tWaVuYRbnJ+TMgPrCeHOYBevcqUPRcy+UaO+IdGw5pKgUG X-Received: by 2002:a17:902:6502:b0:1d8:b778:e9b0 with SMTP id b2-20020a170902650200b001d8b778e9b0mr767372plk.0.1707862710368; Tue, 13 Feb 2024 14:18:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707862710; cv=pass; d=google.com; s=arc-20160816; b=Vci3gfTWtbdXndJwRYhBmb21Uex+5wD8XSsl1o2klLjUmKeggIRJw9Yy4Z/genFoHP xNHCS1EOYYnVSSsZMec3IEpJ5xmbcjd6p5Y9lbCYT5Ezkllt2Zhqua1PWvrkcqmgUnTw v8GoQYztHrAN6PcJTZ9XuOeEXLf93UmvflgyVj7cNLc6wErdhVHhP8dXHhY/4+cKcvmG tDO/wyRAA1VCktRT8az6JN7TbDhBHU7sSSmAGUuvSDZUDWx0XRSazN0dq9dDqU/xNA90 lMs0xUK52kWy3XYiE73/2BJIu81Mrdg/v7+XpJzBDdhfs3iHX0pJvpNj4B0qJD+c8D4g BE1g== 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=8RxXVKDkgKtVpBldpmsRbkKgOxCKxWWUezfoGXGqq3A=; fh=s5BIRjlvGg5pC0JM57Cis97u9QICL5HTEtPM7Lat8Wg=; b=RIxz+ONzw2h1D4rI9j5r6o89WO6v9u0OgPywBrhUGFQAKntc00U6HiYgzo2MeYE3Sl XtXwjbuIXOWuu5z11U5XPkUCcjd8WGt0MsIia79/KkzNRNtTfNtxU+7BPUbHHaz4VqBp DZEfWyiqOdPJPVl2eAWHnmjN07aL2pwza3/XQ4UlYVU6IJh3nK70TxQ4v2CVJc3LSVxy Ntq84uYY3awh9jptZYd89cCEACo/KFPkZFhJlqB5cq/incT0dAPyRZD8dpFiiZBsWM6c 5AtepbcLXHds5drIjIQeFopEjp1hmSWhKUgMRIvFrUcy93vJzymuRDDajmipKEcnA1X2 heOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=eOsDf8H8; 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-64417-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64417-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUFPtsI99lBlVQNi8G8nZEVZ+NnXQ/D1ux2lND1Q2EuIxTM1Coh0biHRl9r65MN8q8ONK0Y6O5xPi/BLucHF3dBTjMqrg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k17-20020a170902c41100b001d95934ad7asi2658333plk.624.2024.02.13.14.18.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:18:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64417-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=eOsDf8H8; 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-64417-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64417-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 F3330294EC0 for ; Tue, 13 Feb 2024 22:06:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7761065190; Tue, 13 Feb 2024 22:03:12 +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="eOsDf8H8" 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 16E85629EF for ; Tue, 13 Feb 2024 22:03:05 +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=1707861788; cv=none; b=CCZ31usJIMtU97QpSlUra83B7Y45AhtmVJV2Xl0cXs6AWC5wodQr3IlAMOTkQuTDaltIn4+iB9mBLN/rVOf6PZq+Z/UVugqj3wwO8yGpzICPz6KXDyyX2LdHw4pFzHjsfFozxFgvdFOyoFM2FWrl+33vSkwIHpDdmBNWxG8Chvw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707861788; c=relaxed/simple; bh=/NbPIAmNtikp+MPwHZ9GZ2HCof6dRoexpNHYP4pdtFI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sbUhJHUyJ5yw0YZctdQsg95zOKV3Ig8FO5fDDsy6DHsqL9//6xMLXAP1Z5UDOQ/w+nszKGR3poifGp/Vb70Izj315YZrOUFplgooYlgjFkOvaVK7/3rQYiUb/w5khYV8A18zCOuc1UlzCZpcMtGQHqYAOSA8vKuX2Z3v0O82a4Y= 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=eOsDf8H8; 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=8RxXVKDkgKtVpBldpmsRbkKgOxCKxWWUezfoGXGqq3A=; b=eOsDf8 H8q2fpvBzLPYOA+dpU9LNZnDLX4fBAEqXfG+LZ/npjnBPxcJi8fGQjSk6H14vSYo 7qJnfOlfH1SiC/QV6ICRoyCxG18lbJv5NHFXkr8L8L6LvqPbyZxUcHF3A5iBCqsd /MRYQvrrLMAWNyI1083/xEpqW8BcKDpQYxKMc5KB4bYIOeIoSUGVnMB97qYhnyIJ is4wyX/d84px45T5H8JESgX3MRHUtQ6gscT4Ot0MRVrCeMoGRRXCXuBbRXwqJttT xMyfBmXjtwO1NQQ7cE+HYuzk2XAhQocDGw79hhCR8LFRBYAvvy1rzoHjJAa+hD8t rryjYc8lU1ikANmg== Received: (qmail 1211928 invoked from network); 13 Feb 2024 23:02:57 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 13 Feb 2024 23:02:57 +0100 X-UD-Smtp-Session: l3s3148p1@XyyPjkoR/t8ujnsZ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Lee Jones , Wolfram Sang , Ulf Hansson , John Paul Adrian Glaubitz , Yoshinori Sato , Rich Felker , Kunihiko Hayashi , Masami Hiramatsu , linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 6/6] mfd: tmio: Move header to platform_data Date: Tue, 13 Feb 2024 23:02:25 +0100 Message-ID: <20240213220221.2380-14-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: 1790823849545123860 X-GMAIL-MSGID: 1790823849545123860 All the MFD components are gone from the header meanwhile. Only the MMC relevant data is left which makes it a platform_data for the MMC controller. Move the header to the now fitting directory. Signed-off-by: Wolfram Sang Acked-by: Lee Jones Acked-by: Ulf Hansson # For MMC Acked-by: John Paul Adrian Glaubitz Reviewed-by: Geert Uytterhoeven --- MAINTAINERS | 2 +- arch/sh/boards/board-sh7757lcr.c | 2 +- arch/sh/boards/mach-ap325rxa/setup.c | 2 +- arch/sh/boards/mach-ecovec24/setup.c | 2 +- arch/sh/boards/mach-kfr2r09/setup.c | 2 +- arch/sh/boards/mach-migor/setup.c | 2 +- arch/sh/boards/mach-se/7724/setup.c | 2 +- drivers/mmc/host/renesas_sdhi_core.c | 2 +- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 2 +- drivers/mmc/host/renesas_sdhi_sys_dmac.c | 2 +- drivers/mmc/host/tmio_mmc_core.c | 2 +- drivers/mmc/host/uniphier-sd.c | 2 +- include/linux/{mfd => platform_data}/tmio.h | 0 13 files changed, 12 insertions(+), 12 deletions(-) rename include/linux/{mfd => platform_data}/tmio.h (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 73d898383e51..fb672e0bb0c1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -22153,7 +22153,7 @@ L: linux-renesas-soc@vger.kernel.org S: Supported F: drivers/mmc/host/renesas_sdhi* F: drivers/mmc/host/tmio_mmc* -F: include/linux/mfd/tmio.h +F: include/linux/platform_data/tmio.h TMP401 HARDWARE MONITOR DRIVER M: Guenter Roeck diff --git a/arch/sh/boards/board-sh7757lcr.c b/arch/sh/boards/board-sh7757lcr.c index f39c8196efdf..4014c042d2a5 100644 --- a/arch/sh/boards/board-sh7757lcr.c +++ b/arch/sh/boards/board-sh7757lcr.c @@ -14,9 +14,9 @@ #include #include #include -#include #include #include +#include #include #include #include diff --git a/arch/sh/boards/mach-ap325rxa/setup.c b/arch/sh/boards/mach-ap325rxa/setup.c index 645cccf3da88..bb5004a8ac02 100644 --- a/arch/sh/boards/mach-ap325rxa/setup.c +++ b/arch/sh/boards/mach-ap325rxa/setup.c @@ -24,10 +24,10 @@ #include #include #include -#include #include #include #include +#include #include #include #include diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 30d117f9ad7e..6f13557eecd6 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -17,13 +17,13 @@ #include #include #include -#include #include #include #include #include #include #include +#include #include #include #include diff --git a/arch/sh/boards/mach-kfr2r09/setup.c b/arch/sh/boards/mach-kfr2r09/setup.c index 6b775eae85c0..70236859919d 100644 --- a/arch/sh/boards/mach-kfr2r09/setup.c +++ b/arch/sh/boards/mach-kfr2r09/setup.c @@ -22,10 +22,10 @@ #include #include #include -#include #include #include #include +#include #include #include #include diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 773ee767d0c4..1853e6319a66 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -14,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 787ddd3c627a..e500feb91053 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c @@ -21,9 +21,9 @@ #include #include #include -#include #include #include +#include #include #include #include diff --git a/drivers/mmc/host/renesas_sdhi_core.c b/drivers/mmc/host/renesas_sdhi_core.c index c675dec587ef..f84f60139bcf 100644 --- a/drivers/mmc/host/renesas_sdhi_core.c +++ b/drivers/mmc/host/renesas_sdhi_core.c @@ -22,13 +22,13 @@ #include #include #include -#include #include #include #include #include #include #include +#include #include #include #include diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c index 24e1c17908d7..97cd55fec0bf 100644 --- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c @@ -11,12 +11,12 @@ #include #include #include -#include #include #include #include #include #include +#include #include #include #include diff --git a/drivers/mmc/host/renesas_sdhi_sys_dmac.c b/drivers/mmc/host/renesas_sdhi_sys_dmac.c index c18581897f8a..68e31c37cce6 100644 --- a/drivers/mmc/host/renesas_sdhi_sys_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_sys_dmac.c @@ -11,12 +11,12 @@ #include #include #include -#include #include #include #include #include #include +#include #include #include #include diff --git a/drivers/mmc/host/tmio_mmc_core.c b/drivers/mmc/host/tmio_mmc_core.c index c39141a5bd23..0c4397b3cffd 100644 --- a/drivers/mmc/host/tmio_mmc_core.c +++ b/drivers/mmc/host/tmio_mmc_core.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include @@ -39,6 +38,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/mmc/host/uniphier-sd.c b/drivers/mmc/host/uniphier-sd.c index 1404989e6151..bd231dbe90ba 100644 --- a/drivers/mmc/host/uniphier-sd.c +++ b/drivers/mmc/host/uniphier-sd.c @@ -9,11 +9,11 @@ #include #include #include -#include #include #include #include #include +#include #include #include #include diff --git a/include/linux/mfd/tmio.h b/include/linux/platform_data/tmio.h similarity index 100% rename from include/linux/mfd/tmio.h rename to include/linux/platform_data/tmio.h