From 83eaed4b9e9c021850ddfd5429304cab253cb267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= Date: Thu, 7 Sep 2023 16:34:40 +0100 Subject: [PATCH] powerhint: fix json syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JSON syntax stipulates no final comma after the last element in an object. While Android's parser is not that strict, other tools like 'jq' are unhappy about incorrect syntax. Fix this up, so that we can use 'jq' to generate the android-mainline versions of these files in the next step. Bug: 265961701 Test: jq '."Nodes"[]' powerhint-oriole.json powerhint-raven.json Fixes: f56bbd1bfbba ("disable vendor idle balancer") Change-Id: If57e37d63d3a5bdd93552536691a192850198c0b Signed-off-by: André Draszik --- powerhint-oriole.json | 2 +- powerhint-raven.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/powerhint-oriole.json b/powerhint-oriole.json index c101230..16800db 100644 --- a/powerhint-oriole.json +++ b/powerhint-oriole.json @@ -284,7 +284,7 @@ "Values": [ "0", "1" - ], + ] }, { "Name": "LimitFlashCurrent", diff --git a/powerhint-raven.json b/powerhint-raven.json index 81e01c0..d925b51 100644 --- a/powerhint-raven.json +++ b/powerhint-raven.json @@ -283,7 +283,7 @@ "Values": [ "0", "1" - ], + ] }, { "Name": "LimitFlashCurrent",