summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorHong Peng <elicec@foxmail.com>2022-01-19 11:53:01 +0800
committerSebastian Reichel <sre@kernel.org>2022-02-13 22:21:42 +0100
commit8f5b373960f976cf80e54636a60637cbe9718f66 (patch)
tree0695645e08813ed59605f84f367f3b5087acb62a /drivers/power
parent6a4760463dbc6b603690938c468839985189ce0a (diff)
downloadlinux-8f5b373960f976cf80e54636a60637cbe9718f66.tar.bz2
power: supply: ab8500_charger: Fix spelling typo
fix the comment typo: "interrupts", "structcure" Signed-off-by: Hong Peng <elicec@foxmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/ab8500_charger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c
index 88099cdba8a7..b17d4649210a 100644
--- a/drivers/power/supply/ab8500_charger.c
+++ b/drivers/power/supply/ab8500_charger.c
@@ -171,7 +171,7 @@ enum ab8500_usb_state {
struct ab8500_charger, ac_chg)
/**
- * struct ab8500_charger_interrupts - ab8500 interupts
+ * struct ab8500_charger_interrupts - ab8500 interrupts
* @name: name of the interrupt
* @isr function pointer to the isr
*/
@@ -1083,7 +1083,7 @@ static int ab8500_vbus_in_curr_to_regval(struct ab8500_charger *di, int curr_ua)
/**
* ab8500_charger_get_usb_cur() - get usb current
- * @di: pointer to the ab8500_charger structre
+ * @di: pointer to the ab8500_charger structure
*
* The usb stack provides the maximum current that can be drawn from
* the standard usb host. This will be in uA.