Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp339060lqp; Mon, 10 Jun 2024 06:01:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUDVTB3GKTIsOI4NrHWOiyVh2B7ys7obY0rxAgpY4xX5wpuz9rpu7mfRkOcWm1romhHXRG0JrqmJ8nXW+wPEuWqpvJV6W2nu6n0xjojrA== X-Google-Smtp-Source: AGHT+IFsJGokmuU06yguMrXROxQu5t70kvILKUlu7PQv+BclzXMHbeV2Ci9Hj7FR2myZvJnA4Ska X-Received: by 2002:a17:906:ae85:b0:a6e:f7ee:b1f5 with SMTP id a640c23a62f3a-a6ef7eeb3d0mr416918666b.52.1718024464356; Mon, 10 Jun 2024 06:01:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718024464; cv=pass; d=google.com; s=arc-20160816; b=d8pXYZOSWcupC7sjCeSil4vTqVXdvAqdnHPxhgx2Xz7ATJnh4yOIb9KjnKF7DAMCpg nhe8LjBQMLRusbLSrrXfR0M0TSwa5ZLM26i0IurJhAT2d2MCLLRqM2semC7fworV8euS ZlxNXtcN81/Cm/a4hllXSsMCIbvrgKAJPTDUvPLZhCdVHJ1OFU1bxeMci3+XaRACkX3u xannuU1BjIF6LeVJKKSeNbvszwgVPKA9luMbhPV2Tm4HiRwLAT88K0n6au/n64IkfVHS 6rP+A9dEKKNFBeHtw8/G5BF4TtosinZZtVAWpS+iKbIHiQevCIcME7sG+eTl/cMw4msu pDPQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=9qVYz6uxkNZ9EajXzIvmaiC+dOktkrr+a+eYnCwY8ho=; fh=KHDILYIIids9bwGxiWXKgpJrjYL9nh6c7FM/vrL56QM=; b=K4+O69huEx8yuQa9JmziTooSnD1YxKYT9j6sq2RDF+QzGvJN5bXTLocduSxUMOypHb 0L61QOmzOsGVcnKx3JCuqBfVvBVjbQjsTsPcrZfEVpSs5Iu7c+nx6uWOxc/DGqiJiRUp sAcfVDgnR34JQ7fa1CirSa5pm+HRzO6bwvIk9CeIzW7PvqgrmdmyMNoDLKCxzbS7gqL8 pl+b4v+Fp4I7y7+Sj4dz2iVmyGSCI1j+uwWkI/9Ab1po07sihuyLLYz8RkQ7cxfnv1W4 nhQA57r0yT71XJHdS9jmzAxdNAAMuK1Dm0kM2AomNJgg3RPmXpHSYlEX+E3OLrDLU1XP m6IA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VjQMnxBV; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-208203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208203-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f0ee52525si207426766b.617.2024.06.10.06.01.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 06:01:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VjQMnxBV; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-208203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208203-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 D7A661F21022 for ; Mon, 10 Jun 2024 13:01:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B225C132101; Mon, 10 Jun 2024 13:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="VjQMnxBV" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 3C54681AA2 for ; Mon, 10 Jun 2024 13:00:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718024401; cv=none; b=HY3aMEBCxa7XR7uNz36nFA1q9olE1WIde4VfLmLuqabl5N84bJ4SDzjpiIPrXEk9awF6+tmauOA+L0K0AaZiRkCI5Aef21ADiVn0bQhqesjSCizzmZQPdcxROHfHC8liBeiekOYsH2oIu17gAqJ8d/FXNBun505O/eWUevUwQY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718024401; c=relaxed/simple; bh=4MGgnzg2JZ2JhUvWSpp/hH/wLfi88rLG9cyyoXmgbz4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=AzOzHsbWwTVXBQPC8I6GWKS91S/V2gjaG6GPEevP2T+Bz9eiubbfSThEkWX44ANQsB/6nhhCWcdovhRF+GcLra8VyMICnV8DbmHrBD7MBMaNfKJ0qsjMZJMcSfXlmpAZroI3hgqmhD9K+q6uG+if2nC2FmyyvrdzeX67ZMerqqA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=VjQMnxBV; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45ACxQij041177; Mon, 10 Jun 2024 07:59:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1718024366; bh=9qVYz6uxkNZ9EajXzIvmaiC+dOktkrr+a+eYnCwY8ho=; h=From:To:CC:Subject:Date; b=VjQMnxBVs/9EZmKnHQyYqu9wOceaukxURf/8jBJJzPypAJVNyOw4Lxkhr/s7w+I+e oDUPF1bmX6S+PL/qK4+Px9TrDTuTdVKT25Li0hCm7R94NX5EFowai2RL4gTEgnHRR9 ybfgPmXoVUWvK5WQJRd3XOj8r4/RziNQ0LN90cIQ= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45ACxQjU013522 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Jun 2024 07:59:26 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 10 Jun 2024 07:59:26 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 10 Jun 2024 07:59:26 -0500 Received: from lelvsmtp5.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45ACxP7U064068; Mon, 10 Jun 2024 07:59:25 -0500 From: Andrew Davis To: Andre Przywara , Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Daniel Mack , Haojian Zhuang , Robert Jarzmik CC: , , , Andrew Davis Subject: [PATCH 1/6] ARM: highbank: Switch to new sys-off handler API Date: Mon, 10 Jun 2024 07:59:19 -0500 Message-ID: <20240610125924.86003-1-afd@ti.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Kernel now supports chained power-off handlers. Use register_platform_power_off() that registers a platform level power-off handler. Legacy pm_power_off() will be removed once all drivers and archs are converted to the new sys-off API. Signed-off-by: Andrew Davis --- arch/arm/mach-highbank/highbank.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 5d4f977ac7d2a..47335c7dadf8d 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c @@ -143,7 +143,7 @@ static void __init highbank_init(void) sregs_base = of_iomap(np, 0); WARN_ON(!sregs_base); - pm_power_off = highbank_power_off; + register_platform_power_off(highbank_power_off); highbank_pm_init(); bus_register_notifier(&platform_bus_type, &highbank_platform_nb); -- 2.39.2