From patchwork Tue Sep 5 05:52:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 809959 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xmbbb3G3hz9ryv for ; Tue, 5 Sep 2017 15:57:47 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="S4TIhJHf"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xmbbb24WDzDrXg for ; Tue, 5 Sep 2017 15:57:47 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="S4TIhJHf"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c00::244; helo=mail-pf0-x244.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="S4TIhJHf"; dkim-atps=neutral Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xmbXD543dzDrTg for ; Tue, 5 Sep 2017 15:54:52 +1000 (AEST) Received: by mail-pf0-x244.google.com with SMTP id k3so1210967pfc.3 for ; Mon, 04 Sep 2017 22:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=XP9CF6aFCk+gBfPfsTZMILItr+RUXKaHKCtAUS1l/Hk=; b=S4TIhJHflYSO28O+4WV8ewE7eEDnf8CrH3Zd3JfsjXiHCyli3yhdoZEK6nxpsWWvVv hstAECpCsPZPKiq3un7m29OvUUjOyASqbC/TNlidcnbPuplXch9R7Zz1eC449svvbvrM F12PrgCMj5EkjfrSXnL26lhkJ80zZrTY3IhAZcktmLRZEis04XTwA8BzGBvdfEm5peRD oFssRao3SRigOxEynHZTwcFOExtUAsMAeGIeU9fo3j0ceMooCRyRyTNsgUpfAhqYIqr+ NBio4YHH8GqFO93eVP0MuVAVJUqgXQddTpYzu1vqxETLBul+iD9Eso0aREXpdS2vJKnl QwQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=XP9CF6aFCk+gBfPfsTZMILItr+RUXKaHKCtAUS1l/Hk=; b=Q+M5QlFdzLpZVyouwHT4RKbtOoGiHG6l5xzUxea8W9DmaEx3g+q6m9oaCC3MeYCIka UMxEvbRShZPHfjGO6AoHObMA7MHJtvYC6NRoAGUYMsQvsBwgHg3H2e1Mzme+2y8rH76M AUmYo1ljqDetmomr28Gfbd5dM8HSIxORbN613foVobyaP+QwPLaUZNUvcSd8fb9o3rho HPkJuSLW8tP8tS/mfqCs58c+axX1jCA6J0fD/gCqnN0UmtZ05dapSzoQ+ut6bV0x3Zz4 KLa53zvFaL9Nr3+Q6BNnYKyE4Ztl5G2BKFOgns3R3EpHjN4mFQbfzMjHtBlza9JsqMCP 42sA== X-Gm-Message-State: AHPjjUgBRa5DEgoAsnG+vMbYVkb/pUxKFKM5kyKgx5I018N+fq0DN1pi TuFzMZf/SuYsKUzTJvE= X-Google-Smtp-Source: ADKCNb7BK/uV4xxWWGNVwYiTGJOD3Q1D2PlERQlkKXBuBxX+Tn4BWfFz/MRTXHz5kMaXynflY37LOw== X-Received: by 10.99.0.3 with SMTP id 3mr2777869pga.417.1504590890714; Mon, 04 Sep 2017 22:54:50 -0700 (PDT) Received: from aurora.jms.id.au ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id o12sm11840700pfg.159.2017.09.04.22.54.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Sep 2017 22:54:49 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Tue, 05 Sep 2017 15:54:44 +1000 From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Tue, 5 Sep 2017 15:52:01 +1000 Message-Id: <20170905055202.8216-25-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170905055202.8216-1-joel@jms.id.au> References: <20170905055202.8216-1-joel@jms.id.au> Subject: [Skiboot] [PATCH 24/25] hw/chiptod: Fix strange indentation in chiptod_probe X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Signed-off-by: Joel Stanley --- hw/chiptod.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/chiptod.c b/hw/chiptod.c index eefaed270523..1b4d594d51e2 100644 --- a/hw/chiptod.c +++ b/hw/chiptod.c @@ -1607,17 +1607,17 @@ static bool chiptod_probe(void) chip = dt_get_chip_id(np); if (dt_has_node_property(np, "primary", NULL)) { - chiptod_primary = chip; - if (dt_node_is_compatible(np, "ibm,power7-chiptod")) - chiptod_type = chiptod_p7; - if (dt_node_is_compatible(np, "ibm,power8-chiptod")) - chiptod_type = chiptod_p8; - if (dt_node_is_compatible(np, "ibm,power9-chiptod")) - chiptod_type = chiptod_p9; + chiptod_primary = chip; + if (dt_node_is_compatible(np, "ibm,power7-chiptod")) + chiptod_type = chiptod_p7; + if (dt_node_is_compatible(np, "ibm,power8-chiptod")) + chiptod_type = chiptod_p8; + if (dt_node_is_compatible(np, "ibm,power9-chiptod")) + chiptod_type = chiptod_p9; } if (dt_has_node_property(np, "secondary", NULL)) - chiptod_secondary = chip; + chiptod_secondary = chip; }