From dee9179ac54e4ae6fa877c03091809a003b8936d Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Mon, 27 Jun 2022 14:34:39 -0600 Subject: common/charge_ramp.c: Format with clang-format BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ic2594979f93d83954f9a725277e004124d1eb94c Signed-off-by: Jack Rosenthal Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729615 Reviewed-by: Jeremy Bettis --- common/charge_ramp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/charge_ramp.c') diff --git a/common/charge_ramp.c b/common/charge_ramp.c index 32e0d21ddb..2db9dbb2f5 100644 --- a/common/charge_ramp.c +++ b/common/charge_ramp.c @@ -41,7 +41,7 @@ test_mockable int chg_ramp_allowed(int port, int supplier) case CHARGE_SUPPLIER_PD: case CHARGE_SUPPLIER_TYPEC: return 0; - /* default: fall through */ + /* default: fall through */ } /* Otherwise ask the BC1.2 detect module */ @@ -59,7 +59,7 @@ test_mockable int chg_ramp_max(int port, int supplier, int sup_curr) * we may brownout the systems they are connected to. */ return sup_curr; - /* default: fall through */ + /* default: fall through */ } /* Otherwise ask the BC1.2 detect module */ -- cgit v1.2.1 From 71b2ef709dcb14260f5fdaa3ab4ced005a29fb46 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 12 Sep 2022 14:54:36 -0400 Subject: Update license boilerplate text in source code files Normally we don't do this, but enough changes have accumulated that we're doing a tree-wide one-off update of the name & style. BRANCH=none BUG=chromium:1098010 TEST=`repo upload` works Change-Id: Icd3a1723c20595356af83d190b2c6a9078b3013b Signed-off-by: Mike Frysinger Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3891203 Reviewed-by: Jeremy Bettis Reviewed-by: Jack Rosenthal --- common/charge_ramp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/charge_ramp.c') diff --git a/common/charge_ramp.c b/common/charge_ramp.c index 2db9dbb2f5..2c84087e21 100644 --- a/common/charge_ramp.c +++ b/common/charge_ramp.c @@ -1,4 +1,4 @@ -/* Copyright 2017 The Chromium OS Authors. All rights reserved. +/* Copyright 2017 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ -- cgit v1.2.1