Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp519535lqb; Wed, 17 Apr 2024 03:31:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRadJ89F5s4tVBqE7tL7FLUJLJFtogFwCTZHqPXaI5qNNIG1wdG4xtHZFRD0QH7G44vX7ZQ0mtm9I5kPVSPmeDIOQQKS3+yMg3vbt6zw== X-Google-Smtp-Source: AGHT+IF7PQbQRBKSylMVAS/VUB1OECenhyBcy7/i6nTED6yc9JTRM9BzK9rAqOm7EgFXsSXsqN1/ X-Received: by 2002:a05:6102:a52:b0:47b:9fd6:233b with SMTP id i18-20020a0561020a5200b0047b9fd6233bmr3673083vss.31.1713349880181; Wed, 17 Apr 2024 03:31:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713349880; cv=pass; d=google.com; s=arc-20160816; b=onfzD3LIlV6y4X0p9UeItVydKOKs+vMIMSeuKgInmKXz56sm9p0qHrqgk6d6ioVTOC +ToikBLaAltzvg5QeIcZfRx8AgavM3Sz/BE4t3h1vojQhxmHTQjAYemEt1MyQjENsgXm J7w5PtsYV31v78ChxY0WS3EtX4ZqI8fK7es6Rfc+VBRSfDqIyat8moT4rK0FEC7l7QI3 c5BbK9mE56uvt9P7q30yWufkTxa6q2lb2Zp9kyooz7uU536TgcxMkKklnH1od6UMtcAW mnPIeCN3XNgr1u7w4Zv8N/pwBqBKol1Cqx2uDPIBUNykx46XQHiF49ia+YmVwHs4y1YU 7WZA== 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; bh=YReZQty9Iile/yJ27CcLCiEv0/Vw7oqE9cgMgzjlTTk=; fh=z9KVtAoZiDlYehJ+z5rTWD7UoSu9qH+AQzMiNhxpbVA=; b=wlveL+AxUnq212J3JFJCplqkSDiQp3dcEEKwlFse86+uJ7rQ42UEmfXIu7JGUo8NwY r95WcEqYA3z0pbkRr7QiaQiZfxh/cUIOLLkGAq6W23YKp1h+f3ohm0J2ajHALMHRlTTF Dn+gBodzgb440SO+o56CoLSFbDz4JedUCfHzJXK9S9ytc79wxaciN9Dnxh0GZunloU6D dmAhKMEML9XpwtZMWaBrSvwC2y9bRCmVsWBqIJqxXYj2daKRG+1faECi9tSpekWIs1cu g2lg3kM4jfnGkEoPAytf5XmMHSo+JDiq7EZMMEqCLgDDqJdlpQz+oJ3Vab6+zbZGcAhd pvJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-148325-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148325-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w8-20020a0cfc48000000b0069b1fa414ccsi14522442qvp.41.2024.04.17.03.31.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 03:31:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148325-linux.lists.archive=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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-148325-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148325-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C610A1C21146 for ; Wed, 17 Apr 2024 10:31:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D15CA13BC00; Wed, 17 Apr 2024 10:31:08 +0000 (UTC) Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [195.130.137.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 384FA1386B3 for ; Wed, 17 Apr 2024 10:31:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.89 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713349868; cv=none; b=mFNGnESX0f2bg6XApFWLzS+82DLaFcq4XjPbmsrOkKhKyE9tcFVTyEw19Gl1vVSJQRnBxLFP+xJIp1fi/kDhIOc8pUK9+Da2mW1UzYFF5jmg+jNuCEjD+T1XQRF2MdYNH5BFRZu5ptXcyRys4zVgqHC9WyLzJ6QPz0tsp2cE6iU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713349868; c=relaxed/simple; bh=oo7aLJcvguP5C6Fr2kTmcD7Omy+Ka45JByP2fpqa2KY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=exxohf9sgnSNRee9ki/ex6rsyS2S/oWyPgDpKmH9B++kuczVbRbHMze/35ANj68oAckPLKU5vmzZYOC0lTzJdqzJ4P6DDp9qvpDUYJcTgGX8pf0MywbUne/FtiPZHNebRZWYhas40UnodATLUyN/ZfL0HQL0ZfjlPf0o5n/JE2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:76d0:2bff:fec8:549]) by laurent.telenet-ops.be with bizsmtp id CAX32C00E0SSLxL01AX3wF; Wed, 17 Apr 2024 12:31:04 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rx2Yd-009LEC-OA; Wed, 17 Apr 2024 12:31:03 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rx2Xe-00FLSA-Eb; Wed, 17 Apr 2024 12:29:26 +0200 From: Geert Uytterhoeven To: Ulf Hansson Cc: Kuninori Morimoto , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 3/4] pmdomain: renesas: rcar-sysc: Remove rcar_sysc_nullify() helper Date: Wed, 17 Apr 2024 12:29:24 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit There are no more users left of the rcar_sysc_nullify() helper, so it can be removed. Signed-off-by: Geert Uytterhoeven --- drivers/pmdomain/renesas/rcar-sysc.c | 12 ------------ drivers/pmdomain/renesas/rcar-sysc.h | 8 -------- 2 files changed, 20 deletions(-) diff --git a/drivers/pmdomain/renesas/rcar-sysc.c b/drivers/pmdomain/renesas/rcar-sysc.c index a60ce08e7d3b09cb..a9d92e38fcee902c 100644 --- a/drivers/pmdomain/renesas/rcar-sysc.c +++ b/drivers/pmdomain/renesas/rcar-sysc.c @@ -439,18 +439,6 @@ static int __init rcar_sysc_pd_init(void) } early_initcall(rcar_sysc_pd_init); -void __init rcar_sysc_nullify(struct rcar_sysc_area *areas, - unsigned int num_areas, u8 id) -{ - unsigned int i; - - for (i = 0; i < num_areas; i++) - if (areas[i].isr_bit == id) { - areas[i].name = NULL; - return; - } -} - #ifdef CONFIG_ARCH_R8A7779 static int rcar_sysc_power_cpu(unsigned int idx, bool on) { diff --git a/drivers/pmdomain/renesas/rcar-sysc.h b/drivers/pmdomain/renesas/rcar-sysc.h index 266c599a0a9b9198..8c4ec36ed7da2f9d 100644 --- a/drivers/pmdomain/renesas/rcar-sysc.h +++ b/drivers/pmdomain/renesas/rcar-sysc.h @@ -71,12 +71,4 @@ extern const struct rcar_sysc_info r8a77980_sysc_info; extern const struct rcar_sysc_info r8a77990_sysc_info; extern const struct rcar_sysc_info r8a77995_sysc_info; - - /* - * Helpers for fixing up power area tables depending on SoC revision - */ - -extern void rcar_sysc_nullify(struct rcar_sysc_area *areas, - unsigned int num_areas, u8 id); - #endif /* __SOC_RENESAS_RCAR_SYSC_H__ */ -- 2.34.1