Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp198647rdh; Tue, 13 Feb 2024 14:05:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUMTun4bzt7UPurGW8bnNf4cnon+5HdcOGmLy5SK3HgV2qpalL/Lm3ltEkqr+bhTGl8zd6wMQcJd6hdxr/GsjNneOxky9aLbUePU/Xelw== X-Google-Smtp-Source: AGHT+IEKow1l4aWzME8/wgkJfm/+FqLguNDS8mwNpKLcAHrsRf0yVrNaLWmM0MVUtdc2Y4BXhYyB X-Received: by 2002:aa7:d752:0:b0:560:c8cb:c2c8 with SMTP id a18-20020aa7d752000000b00560c8cbc2c8mr675651eds.11.1707861933549; Tue, 13 Feb 2024 14:05:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707861933; cv=pass; d=google.com; s=arc-20160816; b=OqoZTkDVbqUeJkB2OeyWxfb0XW73iLtfG7JTDcSKn/n3D7joSqs89L3rDXP4tHavEz 2S4EIa+H+tCQ85fflxsEO0kIVZHGX4UPrXoa+OqfkBSz9ec2RGXhUPFEEeQubBHpAtR/ vMr/qZFEk7DMcne4jKSFMACx0Du9+1UdmpRegu0Mq3MpXEXhYNICgoiWuI6yv3QuwuSL V/O4b+lNXl0ug8C93uznM/Vr4f26vxMxPKUX59SKFu5Pi9j02E2hhgv2LAPhKJ4j/Z8a CsDilbezkcSRoLERPXfRaSfeLFvqT53riJlMNOAsRFulJJIXZmn30DI+YRwwLP70UYwK CL0Q== 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=gaGCSb90U69ZUlyT02+A1okMBCGcbKl206Fnjd9djVE=; b=YJr52rY96OjjvJR4GsGVXKrBUMids4QoKuxCIJO3T3MgSprPy7mEjHEiGXpCtZO4xn pVUhaMEQNxIb01Z2OAWSNrwr2SvhqnLzNYJ3nqNSSLtlkzfW5wrhdrHiXUdrdWFxMqqN s0blO0hyhG8KD03LqFz3LQEYCShpt3AJgCUUTHtlFimm3FUJES+PIUEzTI7LyydUTqK2 jR4A+62uOcClxZxfxXJPapLm/1OeS72zbnJ0JGvnsK1mggW+zs8Y1tiEe1AStDhJa9v1 P+47yWR6NxwPfQ8KS6pZ81trfyBfGa5GFr45LH1SS0UTrFu6uklFQykT5xw3r/4shvbM TQbQ==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64414-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXHeRzRaFPf5vuXvr8bI9kdNrZVisFfuTidZstjX64sz5Pt1xFhIODMKv0bzCvb7ZrzW2QlO2IRmUF3rakxLHwPCJhPKxtjWWdDh7UgFg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id en20-20020a056402529400b00560768f22d7si4299490edb.518.2024.02.13.14.05.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 14:05:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64414-linux.lists.archive=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="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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64414-linux.lists.archive=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 4ED131F21089 for ; Tue, 13 Feb 2024 22:05:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3505D629FA; 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="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 Content-Transfer-Encoding: 8bit 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 --- 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 -- 2.43.0