From: hanyu001@208suo.com
To: sre@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: [PATCH] power: supply: Fix errors
Date: Wed, 12 Jul 2023 14:16:51 +0800 [thread overview]
Message-ID: <66805adb7db117206d4c0c943024dbac@208suo.com> (raw)
In-Reply-To: <tencent_6D69416A3BCF8704CCAA9D2A6DC60B891E09@qq.com>
Fix the below checkpatch errors:
drivers/power/supply/ab8500_bmdata.c:186: ERROR: that open brace {
should be on the previous line
drivers/power/supply/ab8500_bmdata.c:192: ERROR: that open brace {
should be on the previous line
Signed-off-by: Yu Han <hanyu001@208suo.com>
---
drivers/power/supply/ab8500_bmdata.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/power/supply/ab8500_bmdata.c
b/drivers/power/supply/ab8500_bmdata.c
index 3e6ea22..a092727 100644
--- a/drivers/power/supply/ab8500_bmdata.c
+++ b/drivers/power/supply/ab8500_bmdata.c
@@ -184,14 +184,12 @@ int ab8500_bm_of_probe(struct power_supply *psy,
}
if (bi->alert_low_temp_charge_current_ua < 0 ||
- bi->alert_low_temp_charge_voltage_uv < 0)
- {
+ bi->alert_low_temp_charge_voltage_uv < 0){
bi->alert_low_temp_charge_current_ua = 300000;
bi->alert_low_temp_charge_voltage_uv = 4000000;
}
if (bi->alert_high_temp_charge_current_ua < 0 ||
- bi->alert_high_temp_charge_voltage_uv < 0)
- {
+ bi->alert_high_temp_charge_voltage_uv < 0){
bi->alert_high_temp_charge_current_ua = 300000;
bi->alert_high_temp_charge_voltage_uv = 4000000;
}
parent reply other threads:[~2023-07-12 6:16 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tencent_6D69416A3BCF8704CCAA9D2A6DC60B891E09@qq.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=66805adb7db117206d4c0c943024dbac@208suo.com \
--to=hanyu001@208suo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®