From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/power/supply/pm2301_charger.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/kernel/drivers/power/supply/pm2301_charger.c b/kernel/drivers/power/supply/pm2301_charger.c
index 9ef218d..34f168f 100644
--- a/kernel/drivers/power/supply/pm2301_charger.c
+++ b/kernel/drivers/power/supply/pm2301_charger.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2012 ST Ericsson.
*
* Power supply driver for ST Ericsson pm2xxx_charger charger
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
*/
#include <linux/init.h>
@@ -105,11 +102,6 @@
2600,
2800,
3000,
-};
-
-static const struct i2c_device_id pm2xxx_ident[] = {
- { "pm2301", 0 },
- { }
};
static void set_lpn_pin(struct pm2xxx_charger *pm2)
@@ -399,7 +391,7 @@
if (val & (PM2XXX_INT4_ITCHARGINGON)) {
dev_dbg(pm2->dev ,
- "chargind operation has started\n");
+ "charging operation has started\n");
}
if (val & (PM2XXX_INT4_ITVRESUME)) {
--
Gitblit v1.6.2