Skip to contentSkip to conversation

ARM: Fix double word in comments

PATCH In review Xin Gao 2 participants 2 messages Aug 15, 2022

Subsystems (3)
lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 ARM: Fix double word in comments

Delete repeated word "in" in comments.

---
 arch/arm/mach-pxa/palm27x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-pxa/palm27x.c +1 -1
index 1a8d25eecac3..116183859357 100644
@@ -160,7 +160,7 @@ void __init palm27x_lcd_init(int power, struct pxafb_mode_info *mode)
 #if	defined(CONFIG_USB_PXA27X) || \
 	defined(CONFIG_USB_PXA27X_MODULE)
 
-/* The actual GPIO offsets get filled in in the palm27x_udc_init() call */
+/* The actual GPIO offsets get filled in the palm27x_udc_init() call */
 static struct gpiod_lookup_table palm27x_udc_gpiod_table = {
 	.dev_id = "gpio-vbus",
 	.table = {
Signature · 7 lines
2.30.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 1 line · Xin Gao

Delete repeated word "in" in comments.

It is not grammatically incorrect though. The second "in" is the preposition here, while the first is an adverb - "fill in" is a term in its own right, particularly in the context of information, whereas "fill" tends to suggest a more physical context. For instance, one might typically say "I filled the bottle" (with liquid), but "I filled in the application form" (with data).

Robin.

Quoted 10 lines
---
  arch/arm/mach-pxa/palm27x.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-pxa/palm27x.c +0 -0
index 1a8d25eecac3..116183859357 100644

arch/arm/mach-pxa/palm27x.c void __init palm27x_lcd_init(int power, struct pxafb_mode_info *mode) · line 166

Quoted 8 lines
arch/arm/mach-pxa/palm27x.c +1 -1
@@ -160,7 +160,7 @@ void __init palm27x_lcd_init(int power, struct pxafb_mode_info *mode)
  #if	defined(CONFIG_USB_PXA27X) || \
  	defined(CONFIG_USB_PXA27X_MODULE)
 
-/* The actual GPIO offsets get filled in in the palm27x_udc_init() call */
+/* The actual GPIO offsets get filled in the palm27x_udc_init() call */
  static struct gpiod_lookup_table palm27x_udc_gpiod_table = {
  	.dev_id = "gpio-vbus",
  	.table = {

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel