hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/power/supply/max8925_power.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Battery driver for Maxim MAX8925
34 *
45 * Copyright (c) 2009-2010 Marvell International Ltd.
56 * Haojian Zhuang <haojian.zhuang@marvell.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118
129 #include <linux/module.h>
....@@ -124,6 +121,7 @@
124121 case MAX8925_IRQ_VCHG_THM_OK_F:
125122 /* Battery is not ready yet */
126123 dev_dbg(chip->dev, "Battery temperature is out of range\n");
124
+ fallthrough;
127125 case MAX8925_IRQ_VCHG_DC_OVP:
128126 dev_dbg(chip->dev, "Error detection\n");
129127 __set_charger(info, 0);