Remove exra whitespace from files (#189)

* Remove multiple newlines at the end of files
* Remove the whitespace from the end of lines
This commit is contained in:
Xiang Xiao 2020-01-31 07:15:01 -08:00 committed by Gregory Nutt
parent 960c26491c
commit 68951e8d72
1339 changed files with 300 additions and 1669 deletions

View file

@ -6,7 +6,7 @@ style licensing is included in this file. In my words -- I believe that you
should free to use NuttX in any environment, private, private, commercial,
open, closed, etc. provided only that you respect the modest copyright
notices as described in license (below), respect Trademarks, and include a
copy of the BSD license. Please feel free to contact me if you have any
copy of the BSD license. Please feel free to contact me if you have any
icensing concerns.
Tool Licenses

View file

@ -4817,4 +4817,3 @@ sudo ln -s libXext.so.6.4.0 libXext.so
</body>
</html>

View file

@ -670,4 +670,3 @@
</dl></ul>
</body>
</html>

View file

@ -7323,5 +7323,3 @@ void (*notify)(FAR struct pm_callback_s *cb, int domain, enum pm_state_e pmstate
</body>
</html>

View file

@ -1805,4 +1805,3 @@ endmenu
menu "Application Configuration"
source "$APPSDIR/Kconfig"
endmenu

View file

@ -2363,4 +2363,3 @@ tools/
uClibc++/
`- README.txt

View file

@ -1,3 +1,2 @@
/board
/chip

View file

@ -220,4 +220,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_A1X_A10_IRQ_H */

View file

@ -88,4 +88,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_A1X_IRQ_H */

View file

@ -265,4 +265,3 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_INCLUDE_ARM_SYSCALL_H */

View file

@ -373,4 +373,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_ARMV6_M_IRQ_H */

View file

@ -283,4 +283,3 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_INCLUDE_ARMV6_M_SYSCALL_H */

View file

@ -444,4 +444,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_ARMV7_M_IRQ_H */

View file

@ -165,4 +165,3 @@
****************************************************************************/
#endif /* __ARCH_ARM_INCLUDE_ARMV7_M_IRQ_CMNVECTOR_H */

View file

@ -183,4 +183,3 @@
****************************************************************************/
#endif /* __ARCH_ARM_INCLUDE_ARMV7_M_IRQ_LAZYFPU_H */

View file

@ -261,4 +261,3 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_INCLUDE_ARMV7_M_SYSCALL_H */

View file

@ -103,4 +103,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_C5471_IRQ_H */

View file

@ -254,4 +254,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_CXD56XX_IRQ_H */

View file

@ -132,4 +132,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_DM320_IRQ_H */

View file

@ -162,4 +162,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_IMX1_IRQ_H */

View file

@ -258,4 +258,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_IMX6_IRQ_H */

View file

@ -70,4 +70,3 @@
#endif
#endif /* __ARCH_ARM_INCLUDE_IRQ_H */

View file

@ -128,4 +128,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_KINETIS_IRQ_H */

View file

@ -207,4 +207,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_KL_IRQ_H */

View file

@ -242,4 +242,3 @@
****************************************************************************/
#endif /* __ARCH_ARM_INCLUDE_LPC17XX_40XX_LPC176X_IRQ_H */

View file

@ -288,4 +288,3 @@
****************************************************************************/
#endif /* __ARCH_ARM_INCLUDE_LPC17XX_40XX_LPC178X_IRQ_H */

View file

@ -128,4 +128,3 @@ void up_detach_vector(int vector);
#endif
#endif /* __ARCH_ARM_INCLUDE_LPC214X_IRQ_H */

View file

@ -116,4 +116,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_LPC31XX_IRQ_H */

View file

@ -222,4 +222,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_LPC43XX_IRQ_H */

View file

@ -109,4 +109,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_LPC54XX_IRQ_H */

View file

@ -674,4 +674,3 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_INCLUDE_NUC1XX_CHIP_H */

View file

@ -107,4 +107,3 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_INCLUDE_NUC1XX_IRQ_H */

View file

@ -113,4 +113,3 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_INCLUDE_NUC1XX_NUC120_IRQ_H */

View file

@ -224,4 +224,3 @@
#define NR_IRQS S32K1XX_IRQ_NIRQS
#endif /* __ARCH_ARM_INCLUDE_S32K1XX_S32K14XX_IRQ_H */

View file

@ -273,4 +273,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_SAM34_SAM3U_IRQ_H */

View file

@ -428,4 +428,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_SAM34_SAM3X_IRQ_H */

View file

@ -334,4 +334,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_SAM34_SAM4L_IRQ_H */

View file

@ -284,4 +284,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_SAM34_SAM4S_IRQ_H */

View file

@ -92,4 +92,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_SAMA5_IRQ_H */

View file

@ -123,4 +123,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32_IRQ_H */

View file

@ -310,4 +310,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32_STM32F10XXX_IRQ_H */

View file

@ -181,4 +181,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32_STM32F20XXX_IRQ_H */

View file

@ -192,4 +192,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32_STM32F30XXX_IRQ_H */

View file

@ -178,4 +178,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32F30XXX_IRQ_H */

View file

@ -271,4 +271,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32_STM32FL15XXX_IRQ_H */

View file

@ -115,4 +115,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32F7_IRQ_H */

View file

@ -194,4 +194,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32F7_STM32F72XX73XX_IRQ_H */

View file

@ -199,4 +199,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32F7_STM32F74XX75XX_IRQ_H */

View file

@ -116,4 +116,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32L4_IRQ_H */

View file

@ -190,4 +190,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_STM32L4_STM32L4XRXX_IRQ_H */

View file

@ -149,4 +149,3 @@ extern "C"
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_INCLUDE_STR71X_IRQ_H */

View file

@ -94,4 +94,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_SYSCALL_H */

View file

@ -373,4 +373,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_TIVA_LM4F_IRQ_H */

View file

@ -1083,4 +1083,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_TIVA_TM4C_IRQ_H */

View file

@ -169,4 +169,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_TMS570_TMS570LS04X03X_IRQ_H */

View file

@ -117,4 +117,3 @@ extern "C"
#endif
#endif /* __ARCH_ARM_INCLUDE_XMC4_IRQ_H */

View file

@ -68,4 +68,3 @@ void am335x_wdog_disable_all(void)
{
}
}

View file

@ -402,4 +402,3 @@
#define UART_EFR_AUTOCTSEN (1 << 7) /* Bit 7: Enable Auto-CTS */
#endif /* __ARCH_ARM_SRC_AM335X_HARDWARE_AM335X_UART_H */

View file

@ -130,4 +130,3 @@
#define WDT_SPR_STOP_FEED_B (0x00005555)
#endif /* __ARCH_ARM_SRC_AM335X_HARDWARE_AM335X_WDOG_H */

View file

@ -486,7 +486,7 @@
/* Write the value into the L1 table at the correct offset.
* (and increment the L1 table address by 4)
*/
str \tmp, [\l1], #4
/* Update the L2 page table address for the next L1 table entry. */

View file

@ -79,4 +79,3 @@ void up_copyfullstate(uint32_t *dest, uint32_t *src)
*dest++ = *src++;
}
}

View file

@ -109,4 +109,3 @@ up_fullcontextrestore:
ldmia sp!, {r0-r1, r15}
.size up_fullcontextrestore, . - up_fullcontextrestore

View file

@ -387,7 +387,7 @@ __start:
*/
orr r0, r0, #(CR_M|CR_P|CR_D)
/* In most architectures, vectors are relocated to 0xffff0000.
* -- but not all
*
@ -437,7 +437,7 @@ __start:
****************************************************************************/
/* Most addresses are all virtual address */
.type .LCvstart, %object
.LCvstart:
.long .Lvstart
@ -583,7 +583,7 @@ __start:
mov fp, #0
.Lbssinit:
.Lbssinit:
cmp r0, r1 /* Clear up to _bss_end_ */
strcc fp, [r0],#4
bcc .Lbssinit

View file

@ -143,4 +143,3 @@ void up_initial_state(struct tcb_s *tcb)
xcp->regs[REG_CPSR] = cpsr;
}

View file

@ -116,4 +116,3 @@ up_saveusercontext:
mov r0, #0 /* Return value == 0 */
mov pc, lr /* Return */
.size up_saveusercontext, . - up_saveusercontext

View file

@ -101,4 +101,3 @@
************************************************************************************/
#endif /* __ARCH_ARM_SRC_ARMV6_M_EXC_RETURN_H */

View file

@ -143,4 +143,3 @@
************************************************************************************/
#endif /* __ARCH_ARM_SRC_ARMV6_M_SVCALL_H */

View file

@ -83,4 +83,3 @@ void up_copyfullstate(uint32_t *dest, uint32_t *src)
}
}
}

View file

@ -278,4 +278,3 @@ g_intstackbase:
#endif
.end

View file

@ -93,4 +93,3 @@ up_fullcontextrestore:
bx lr /* Unnecessary ... will not return */
.size up_fullcontextrestore, .-up_fullcontextrestore
.end

View file

@ -103,4 +103,3 @@ up_saveusercontext:
* context switch with r0=1 */
.size up_saveusercontext, .-up_saveusercontext
.end

View file

@ -95,4 +95,3 @@ up_switchcontext:
bx lr
.size up_switchcontext, .-up_switchcontext
.end

View file

@ -79,4 +79,3 @@ void up_systemreset(void)
for (; ; );
}

View file

@ -140,4 +140,3 @@ vfork:
bx lr
.size vfork, .-vfork
.end

View file

@ -101,4 +101,3 @@ up_restorefpu:
.size up_restorefpu, .-up_restorefpu
#endif /* CONFIG_ARCH_FPU */
.end

View file

@ -117,4 +117,3 @@
************************************************************************************/
#endif /* __ARCH_ARM_SRC_ARMV7_M_EXC_RETURN_H */

View file

@ -329,4 +329,3 @@ g_intstackbase:
#endif
.end

View file

@ -283,4 +283,3 @@ up_restorefpu:
.size up_restorefpu, .-up_restorefpu
#endif /* CONFIG_ARCH_FPU */
.end

View file

@ -92,4 +92,3 @@ up_fullcontextrestore:
bx lr /* Unnecessary ... will not return */
.size up_fullcontextrestore, .-up_fullcontextrestore
.end

View file

@ -94,4 +94,3 @@ up_switchcontext:
bx lr
.size up_switchcontext, .-up_switchcontext
.end

View file

@ -139,4 +139,3 @@ vfork:
bx lr
.size vfork, .-vfork
.end

View file

@ -501,4 +501,3 @@ static inline void mpu_user_peripheral(uintptr_t base, size_t size)
#endif /* __ASSEMBLY__ */
#endif /* __ARCH_ARM_SRC_ARMV7M_MPU_H */

View file

@ -90,4 +90,3 @@ unsigned _vectors[] __attribute__((section(".vectors"))) =
[2 ... (15 + ARMV7M_PERIPHERAL_INTERRUPTS)] = (unsigned)&exception_common
};

View file

@ -110,4 +110,3 @@ config C5471_BASET10
bool "10BaseT FullDuplex"
endchoice

View file

@ -126,4 +126,3 @@ up_lowputc:
/* And return */
mov pc, lr

View file

@ -860,4 +860,3 @@ int up_putc(int ch)
up_restoreuartint(priv, ier);
return ch;
}

View file

@ -76,4 +76,3 @@ void up_idle(void)
#endif
#endif
}

View file

@ -61,4 +61,3 @@ void up_puts(const char *str)
up_putc(*str++);
}
}

View file

@ -127,4 +127,3 @@ up_lowputc:
/* And return */
mov pc, lr

View file

@ -135,4 +135,3 @@ up_phyrestart:
.size up_restart, .-up_restart
.end

View file

@ -829,5 +829,3 @@ int up_putc(int ch)
}
#endif /* USE_SERIALDRIVER */

View file

@ -150,4 +150,3 @@ void arm_timer_initialize(void)
irq_attach(DM320_IRQ_SYSTIMER, (xcpt_t)dm320_timerisr, NULL);
up_enable_irq(DM320_IRQ_SYSTIMER);
}

View file

@ -2624,5 +2624,3 @@ int usbdev_unregister(FAR struct usbdevclass_driver_s *driver)
g_usbdev.driver = NULL;
return OK;
}

View file

@ -588,4 +588,3 @@ struct adc_dev_s *efm32_adcinitialize(int intf, const uint8_t *chanlist,
#endif /* CONFIG_EFM32_ADC || CONFIG_EFM32_ADC2 || CONFIG_EFM32_ADC3 */
#endif /* __ARCH_ARM_SRC_EFM32_EFM32_ADC_H */

View file

@ -93,4 +93,3 @@ int efm32_rtc_cancelalarm(void);
#endif
#endif /* __ARCH_ARM_SRC_EFM32_EFM32_RTC_H */

View file

@ -52,4 +52,3 @@ void efm32_timer_dumpregs(uintptr_t base, FAR const char *msg);
int efm32_timer_set_freq(uintptr_t base, uint32_t clk_freq, uint32_t freq);
#endif /* __ARCH_ARM_SRC_EFM32_EFM32_TIMER_H */

View file

@ -127,4 +127,3 @@ up_lowputc:
mov pc, lr
.end

View file

@ -1246,5 +1246,3 @@ int up_putc(int ch)
}
#endif /* USE_SERIALDRIVER */

View file

@ -153,4 +153,3 @@ void arm_timer_initialize(void)
irq_attach(IMX_IRQ_SYSTIMER, (xcpt_t)imx_timerisr, NULL);
up_enable_irq(IMX_IRQ_SYSTIMER);
}

View file

@ -1400,4 +1400,3 @@ endmenu # USB host controller driver (HCD) options
endif # IMXRT_USBOTG && USBHOST
endif # ARCH_CHIP_IMXRT

Some files were not shown because too many files have changed in this diff Show more