From nobody Thu Dec 5 01:42:15 2024 Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) (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 EC6FE1DED4C for ; Mon, 2 Dec 2024 19:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733168508; cv=none; b=pfqOlYRjt2vqtV+m0b3gjM9AlE9JCCiYMR8wQqlEgIMMsN3Wxse3KTTZY3y2tfcmUCgsPR72Dz6Xs8jMmrxOvL9BDCRzRSFAC3tVS+Qz4+uk4wBNbBullbnuC0LiC4JO0xLBX389ImRYhxv0RBbRuRL4nsjekPcLySnsbzPJ2Ps= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733168508; c=relaxed/simple; bh=stLoQqO8Cd+PyhnH0MVB+z/fey6dor2CcmaPnD/Sw/Y=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VHlGAKinvWmtutOJa0TiH0dsQHxv7vd84xbg37EW93yqctg+nk1f85v3Kgv9Em5+4KcmydPgANAqUq+941E6Yj5YzveDNNiBfi4tCjCWgV7XGlIoToIm4XM+7OfCSCOMMm9E2zKDEu6yB0J6a2CIQYfEJurjfd9yl5G5wYP9v7s= 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=tHfWAYTb; arc=none smtp.client-ip=198.47.23.234 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="tHfWAYTb" Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 4B2JfAHv1777092 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 2 Dec 2024 13:41:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1733168470; bh=P6d498xP36XXy4X2j2XNBIV3J80KTeTFWEpSStPLVgY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tHfWAYTb7oGZnG+xPW+4zrXYKTxWVEwuxtfhYX0ntLfAjUFfoG+oqDzQ+1JgTAnOb BVZboqAUgIAiyyUo0qOBQHDp7XAL/HZHB+Qolc/aJ2pLHvEht0l3gYU0G9VfqPB8en BfpXfNCSCPOlgRsSmBmjlU38u00ZrO125iNpWj4Q= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4B2JfA8L018331 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Dec 2024 13:41:10 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 2 Dec 2024 13:41:10 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE109.ent.ti.com (157.170.170.41) 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, 2 Dec 2024 13:41:09 -0600 Received: from fllvsmtp7.itg.ti.com ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4B2Jf8iM127393; Mon, 2 Dec 2024 13:41:09 -0600 From: Andrew Davis To: Arnd Bergmann , Andre Przywara , Russell King , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Alexey Charkov , Krzysztof Kozlowski , Stefano Stabellini CC: , , , Andrew Davis Subject: [PATCH v4 1/5] ARM: highbank: Switch to new sys-off handler API Date: Mon, 2 Dec 2024 13:41:03 -0600 Message-ID: <20241202194107.105119-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20241202194107.105119-1-afd@ti.com> References: <20241202194107.105119-1-afd@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Andre Przywara --- 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/hig= hbank.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 =3D of_iomap(np, 0); WARN_ON(!sregs_base); =20 - pm_power_off =3D highbank_power_off; + register_platform_power_off(highbank_power_off); highbank_pm_init(); =20 bus_register_notifier(&platform_bus_type, &highbank_platform_nb); --=20 2.39.2