[PATCH 0/4] White Space cleanup
Wolfgang Denk
wd at denx.de
Mon Sep 27 17:42:35 CEST 2021
The following is an attempt of a minimal-invasive white space
cleaup. It performs the following actions:
- Remove empty lines at the end of a file
- Remove white space at the end of lines
- Remove excessive empty lines: there is almost never a good reason
to have more than 2 consecutive empty lines in a file
- Remove SPACE characters that are followed by TAB characters.
Care has been taken not to:
- change any actual code
- change the formatting of the files (assuming you use a monospace font);
no attempts were made to clean up broken formatting.
- change any files that were imported from other projects, where we
might want to re-import more recent versions; for imports from the
Linux kernel, current Linux versions were taken as reference, so
for example some files in scripts/kconfig were fixed to fix
differences from the Linux versions.
This is all purely cosmetic. No code changes result from this.
I am aware that such a global cosmetic cleanup is always kind of
disruptive, but we are at -rc5, so the code should be pretty stable
for now, and I've done a few rebases before, with little and easy to
fix conflicts.
Wolfgang Denk (4):
WS cleanup: remove trailing empty lines
WS cleanup: remove excessive empty lines
WS cleanup: remove trailing white space
WS cleanup: remove SPACE(s) followed by TAB
Licenses/lgpl-2.0.txt | 2 +-
Makefile | 6 +-
README | 1 -
arch/arc/lib/libgcc2.h | 2 +-
arch/arm/cpu/arm926ejs/armada100/timer.c | 2 +-
arch/arm/cpu/arm926ejs/cache.c | 1 -
arch/arm/cpu/armv7/psci-common.c | 1 -
arch/arm/cpu/armv8/fel_utils.S | 20 +-
.../cpu/armv8/fsl-layerscape/doc/README.lsch3 | 36 +-
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 4 +-
arch/arm/cpu/armv8/hisilicon/pinmux.c | 2 -
arch/arm/cpu/armv8/xen/hypercall.S | 1 -
arch/arm/dts/sama7g5-pinfunc.h | 1 -
arch/arm/dts/vf610-pinfunc.h | 2 +-
arch/arm/include/asm/arch-am33xx/cpu.h | 2 +-
arch/arm/include/asm/arch-armada100/mfp.h | 2 +-
arch/arm/include/asm/arch-imxrt/imxrt.h | 1 -
arch/arm/include/asm/arch-mx25/imx-regs.h | 22 +-
arch/arm/include/asm/arch-mx5/imx-regs.h | 4 +-
arch/arm/include/asm/arch-mx6/mx6_plugin.S | 4 +-
arch/arm/include/asm/arch-mx7/mx7_plugin.S | 2 +-
.../include/asm/arch-mx7ulp/mx7ulp_plugin.S | 2 +-
.../include/asm/arch-rockchip/cru_rk3368.h | 16 +-
.../arm/include/asm/arch-rockchip/f_rockusb.h | 1 -
arch/arm/include/asm/arch-stm32/stm32f.h | 1 -
.../include/asm/arch-stv0991/stv0991_defs.h | 1 -
arch/arm/include/asm/arch-vf610/iomux-vf610.h | 8 +-
arch/arm/include/asm/macro.h | 2 +-
arch/arm/include/asm/ti-common/davinci_nand.h | 6 +-
arch/arm/include/asm/xen.h | 1 -
arch/arm/lib/ccn504.S | 3 +-
arch/arm/lib/div64.S | 10 +-
arch/arm/lib/lib1funcs.S | 6 +-
arch/arm/mach-at91/armv7/sama7g5_devices.c | 1 -
arch/arm/mach-at91/atmel_sfr.c | 1 -
arch/arm/mach-at91/include/mach/at91_mc.h | 24 +-
arch/arm/mach-at91/include/mach/at91_st.h | 2 +-
arch/arm/mach-bcm283x/msg.c | 1 -
.../arm/mach-davinci/include/mach/da8xx-usb.h | 36 +-
.../mach-davinci/include/mach/davinci_misc.h | 2 +-
arch/arm/mach-imx/Makefile | 4 +-
arch/arm/mach-imx/mx7/soc.c | 1 -
.../arm/mach-keystone/include/mach/hardware.h | 6 +-
arch/arm/mach-kirkwood/cpu.c | 1 -
.../serdes/a38x/high_speed_env_spec.c | 2 -
arch/arm/mach-octeontx/Makefile | 1 -
arch/arm/mach-octeontx2/Makefile | 1 -
arch/arm/mach-omap2/clocks-common.c | 2 +-
arch/arm/mach-omap2/omap5/prcm-regs.c | 2 +-
arch/arm/mach-omap2/pipe3-phy.c | 1 -
arch/arm/mach-orion5x/timer.c | 2 +-
arch/arm/mach-rmobile/pfc-r8a7790.h | 2 +-
arch/arm/mach-rockchip/rk3368/Makefile | 2 +-
arch/arm/mach-s5pc1xx/include/mach/sromc.h | 4 +-
arch/arm/mach-snapdragon/dram.c | 1 -
.../include/mach/fpga_manager_arria10.h | 16 +-
arch/arm/mach-sunxi/dram_sun4i.c | 2 +-
arch/arm/mach-sunxi/dram_sun8i_a33.c | 4 +-
.../mach-sunxi/dram_timings/h6_ddr3_1333.c | 2 +-
arch/arm/mach-tegra/tegra20/display.c | 1 -
arch/arm/mach-versatile/timer.c | 1 -
arch/m68k/cpu/mcf5227x/start.S | 4 +-
arch/m68k/cpu/mcf523x/cpu.c | 2 +-
arch/m68k/cpu/mcf52x2/cpu.c | 2 +-
arch/m68k/cpu/mcf530x/Makefile | 1 -
arch/m68k/cpu/mcf532x/cpu.c | 2 +-
arch/m68k/cpu/mcf5445x/cpu.c | 2 +-
arch/m68k/cpu/mcf5445x/start.S | 6 +-
arch/m68k/include/asm/immap_5307.h | 1 -
arch/m68k/include/asm/m5271.h | 2 +-
arch/m68k/include/asm/m5307.h | 1 -
arch/m68k/lib/muldi3.c | 2 +-
arch/mips/include/asm/mipsregs.h | 32 +-
.../mach-jz47xx/include/mach/jz4780_dram.h | 1 -
arch/nds32/cpu/n1213/ae3xx/lowlevel_init.S | 6 +-
arch/nds32/cpu/n1213/ag101/lowlevel_init.S | 6 +-
arch/nds32/cpu/n1213/ag101/watchdog.S | 2 +-
arch/nds32/cpu/n1213/start.S | 8 +-
arch/powerpc/cpu/mpc83xx/pcie.c | 4 +-
.../powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 1 -
arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c | 1 -
arch/powerpc/cpu/mpc85xx/start.S | 8 +-
arch/powerpc/include/asm/fsl_lbc.h | 4 +-
arch/powerpc/include/asm/immap_85xx.h | 4 +-
arch/powerpc/include/asm/processor.h | 2 +-
arch/powerpc/lib/ppccache.S | 1 -
arch/sandbox/include/asm/gpio.h | 2 +-
arch/sh/lib/time.c | 1 -
arch/x86/cpu/intel_common/car2.S | 2 +-
arch/x86/lib/bios_asm.S | 4 +-
arch/xtensa/include/asm/arch-dc232b/core.h | 3 -
arch/xtensa/include/asm/arch-dc232b/tie-asm.h | 5 -
arch/xtensa/include/asm/arch-dc232b/tie.h | 1 -
arch/xtensa/include/asm/arch-dc233c/core.h | 48 +-
arch/xtensa/include/asm/arch-dc233c/tie-asm.h | 5 -
arch/xtensa/include/asm/arch-dc233c/tie.h | 1 -
arch/xtensa/include/asm/arch-de212/core.h | 58 +-
arch/xtensa/include/asm/arch-de212/tie-asm.h | 1 -
arch/xtensa/include/asm/arch-de212/tie.h | 1 -
arch/xtensa/include/asm/cacheasm.h | 2 -
arch/xtensa/include/asm/regs.h | 1 -
arch/xtensa/lib/Makefile | 2 +-
arch/xtensa/lib/bootm.c | 1 -
arch/xtensa/lib/relocate.c | 1 -
board/Marvell/guruplug/guruplug.c | 2 +-
board/Marvell/octeontx/smc.c | 1 -
board/Marvell/octeontx2/soc-utils.c | 1 -
board/atmark-techno/armadillo-800eva/Makefile | 1 -
board/atmel/sama7g5ek/sama7g5ek.c | 1 -
board/beacon/imx8mn/README | 1 -
board/beacon/imx8mn/lpddr4_timing.c | 1 -
board/boundary/nitrogen6x/README | 2 +-
.../boundary/nitrogen6x/README.mx6qsabrelite | 1 -
board/cadence/xtfpga/README | 1 -
board/compulab/cm_t43/spl.c | 1 -
.../ddr/lpddr4_timing_01061010.1_2.c | 1 -
board/freescale/common/sys_eeprom.c | 2 +-
board/freescale/common/zm7300.c | 1 -
board/freescale/imx8mn_evk/ddr4_timing.c | 1 -
board/freescale/imx8mn_evk/ddr4_timing_ld.c | 1 -
board/freescale/ls1012afrdm/README | 4 +-
board/freescale/ls1012aqds/README | 4 +-
board/freescale/ls1012ardb/README | 8 +-
board/freescale/ls1046afrwy/README | 4 +-
board/freescale/ls1046aqds/README | 4 +-
board/freescale/ls1046ardb/README | 6 +-
board/freescale/ls1088a/ddr.c | 2 -
board/freescale/ls2080aqds/README | 1 -
board/freescale/ls2080ardb/README | 1 -
board/freescale/m53017evb/README | 2 +-
board/freescale/mx6memcal/mx6memcal.c | 1 -
board/freescale/t208xqds/README | 1 -
board/freescale/t4rdb/cpld.h | 1 -
board/gateworks/gw_ventana/Makefile | 1 -
board/gateworks/gw_ventana/gsc.h | 1 -
board/gdsys/a38x/dt_helpers.c | 1 -
board/ge/common/ge_rtc.c | 1 -
board/ge/mx53ppd/mx53ppd_video.c | 1 -
board/hisilicon/poplar/poplar.c | 1 -
board/keymile/common/qrio.c | 1 -
board/logicpd/am3517evm/am3517evm.h | 2 +-
board/logicpd/imx6/Makefile | 1 -
board/logicpd/imx6/README | 1 -
board/logicpd/omap3som/omap3logic.h | 2 +-
board/mediatek/mt7622/Makefile | 1 -
board/mqmaker/miqi_rk3288/miqi-rk3288.c | 1 -
board/mscc/jr2/Makefile | 1 -
board/mscc/ocelot/Makefile | 1 -
.../zynq/zynq-syzygy-hub/ps7_init_gpl.c | 1 -
board/phytium/durian/Makefile | 1 -
board/phytium/durian/cpu.h | 1 -
board/phytium/durian/durian.c | 1 -
.../dragonboard820c/dragonboard820c.c | 6 +-
board/rockchip/evb_rk3229/evb_rk3229.c | 1 -
board/rockchip/evb_rk3288/evb-rk3288.c | 1 -
board/rockchip/evb_rk3328/evb-rk3328.c | 1 -
board/synopsys/axs10x/axs10x.h | 1 -
board/sysam/stmark2/sbf_dram_init.S | 2 +-
board/technexion/pico-imx7d/pico-imx7d.c | 1 -
.../pico-imx8mq/lpddr4_timing_1gb.c | 1 -
.../pico-imx8mq/lpddr4_timing_2gb.c | 1 -
.../pico-imx8mq/lpddr4_timing_3gb.c | 1 -
.../pico-imx8mq/lpddr4_timing_4gb.c | 1 -
board/terasic/de0-nano-soc/qts/pll_config.h | 1 -
board/ti/am57xx/board.c | 24 +-
board/ti/am57xx/mux_data.h | 4 +-
board/warp7/README | 2 +-
board/xen/xenguest_arm64/xenguest_arm64.c | 1 -
board/xilinx/versal/cmds.c | 1 -
.../xilinx/zynq/zynq-microzed/ps7_init_gpl.c | 8 -
board/xilinx/zynq/zynq-zc702/ps7_init_gpl.c | 4 -
board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c | 8 -
board/xilinx/zynq/zynq-zed/ps7_init_gpl.c | 8 -
board/xilinx/zynq/zynq-zybo/ps7_init_gpl.c | 1 -
cmd/bedbug.c | 4 -
cmd/cramfs.c | 2 +-
cmd/pvblock.c | 1 -
cmd/scp03.c | 1 -
cmd/smccc.c | 1 -
cmd/spi.c | 6 +-
common/hash.c | 2 +-
common/hwconfig.c | 2 +-
common/lcd_console.c | 1 -
common/spl/spl_mmc.c | 2 +-
common/spl/spl_ram.c | 2 -
common/usb_storage.c | 2 +-
disk/Makefile | 2 +-
doc/README.commands.spl | 6 +-
doc/README.dfutftp | 2 -
doc/README.distro | 2 +-
doc/README.falcon | 4 +-
doc/README.odroid | 4 +-
doc/README.pcap | 1 -
.../firmware/linaro,optee-tz.txt | 1 -
.../mailbox/k3-secure-proxy.txt | 2 +-
.../memory-controller/k3-j721e-ddrss.txt | 2 +-
.../memory-controllers/k3-am654-ddrss.txt | 2 +-
doc/device-tree-bindings/mmc/snps,dw-mmc.txt | 1 -
doc/device-tree-bindings/net/altera_tse.txt | 2 +-
.../net/fsl,mcf-dma-fec.txt | 2 +-
doc/device-tree-bindings/net/fsl,mcf-fec.txt | 2 +-
doc/device-tree-bindings/net/mdio.txt | 1 -
.../pinctrl/bcm6838-pinctrl.txt | 2 +-
.../pinctrl/marvell,armada-apn806-pinctrl.txt | 14 +-
.../pinctrl/marvell,mvebu-pinctrl.txt | 2 +-
.../regulator/fsl,anatop-regulator.txt | 14 +-
doc/device-tree-bindings/spi/spi-bus.txt | 14 +-
doc/device-tree-bindings/spi/spi-qup.txt | 2 +-
doc/device-tree-bindings/tpm2/sandbox.txt | 2 +-
.../w1-eeprom/ds24xxx.txt | 1 -
doc/device-tree-bindings/w1-eeprom/ds2502.txt | 1 -
.../w1-eeprom/eep_sandbox.txt | 1 -
doc/device-tree-bindings/w1/w1-gpio.txt | 1 -
doc/imx/common/imx6.txt | 2 +-
doc/mvebu/armada-8k-memory.txt | 1 -
doc/mvebu/cmd/bubt.txt | 1 -
drivers/axi/axi-uclass.c | 1 -
drivers/cache/cache-v5l2.c | 4 +-
drivers/cache/sandbox_cache.c | 2 +-
drivers/clk/at91/clk-sam9x60-pll.c | 1 -
drivers/clk/imx/clk-pllv3.c | 2 +-
drivers/clk/meson/Makefile | 1 -
drivers/clk/rockchip/clk_pll.c | 1 -
drivers/crypto/Makefile | 2 +-
drivers/ddr/altera/sdram_s10.c | 1 -
drivers/ddr/fsl/ddr3_dimm_params.c | 18 +-
drivers/ddr/marvell/a38x/ddr3_training.c | 1 -
drivers/ddr/marvell/axp/ddr3_spd.c | 2 +-
drivers/firmware/scmi/Makefile | 2 +-
drivers/fpga/socfpga.c | 1 -
drivers/gpio/hi6220_gpio.c | 4 -
drivers/i2c/designware_i2c.h | 2 +-
drivers/i2c/mxc_i2c.c | 2 -
drivers/misc/atsha204a-i2c.c | 32 +-
drivers/misc/cros_ec.c | 2 +-
drivers/misc/fsl_devdis.c | 1 -
drivers/mmc/Makefile | 2 +-
drivers/mmc/mmc.c | 2 +-
drivers/mtd/mtdcore.c | 8 +-
drivers/mtd/nand/raw/davinci_nand.c | 2 +-
drivers/mtd/nand/raw/fsl_elbc_nand.c | 2 +-
drivers/mtd/nand/raw/mxs_nand_spl.c | 1 -
drivers/mtd/nand/raw/nand_base.c | 12 +-
drivers/mtd/nand/raw/nand_ids.c | 2 +-
drivers/mtd/nand/raw/nand_util.c | 4 +-
drivers/mtd/onenand/onenand_base.c | 4 +-
drivers/mtd/spi/spi-nor-ids.c | 2 +-
drivers/mtd/ubi/build.c | 2 +-
drivers/mtd/ubi/crc32.c | 32 +-
drivers/net/at91_emac.c | 2 +-
drivers/net/calxedaxgmac.c | 2 +-
drivers/net/dm9000x.c | 4 +-
drivers/net/e1000.c | 4 -
drivers/net/e1000.h | 2 +-
drivers/net/fsl-mc/dpni.c | 1 -
drivers/net/mvmdio.c | 1 -
drivers/net/octeontx/nic_main.c | 1 -
drivers/net/octeontx2/Makefile | 1 -
drivers/net/octeontx2/nix.c | 1 -
drivers/net/octeontx2/npc.h | 1 -
drivers/net/octeontx2/rvu.h | 1 -
drivers/net/phy/meson-gxl.c | 2 +-
drivers/net/smc911x.h | 4 +-
drivers/net/sun8i_emac.c | 2 +-
drivers/pci/fsl_pci_init.c | 2 +-
drivers/phy/marvell/comphy_core.h | 1 -
drivers/phy/marvell/utmi_phy.h | 1 -
drivers/pinctrl/mediatek/pinctrl-mt7622.c | 2 -
drivers/pinctrl/meson/pinctrl-meson-axg.c | 2 +-
drivers/pinctrl/meson/pinctrl-meson-g12a.c | 2 +-
drivers/pinctrl/renesas/pfc-r8a77970.c | 2 +-
drivers/pinctrl/renesas/pfc-r8a77980.c | 6 +-
drivers/power/pmic/pmic_tps65910.c | 2 +-
drivers/pwm/pwm-meson.c | 2 +-
drivers/ram/k3-ddrss/k3-ddrss.c | 4 +-
drivers/ram/rockchip/sdram_rk322x.c | 1 -
drivers/ram/stm32_sdram.c | 2 +-
drivers/reset/reset-meson.c | 10 +-
drivers/reset/reset-raspberrypi.c | 1 -
drivers/serial/serial_msm.c | 2 +-
drivers/serial/serial_sti_asc.c | 1 -
drivers/serial/serial_xen.c | 1 -
drivers/spi/atcspi200_spi.c | 2 +-
drivers/thermal/imx_tmu.c | 4 +-
drivers/timer/atmel_pit_timer.c | 2 +-
drivers/timer/stm32_timer.c | 1 -
drivers/usb/dwc3/core.h | 12 +-
drivers/usb/dwc3/dwc3-meson-gxl.c | 2 +-
drivers/usb/dwc3/gadget.c | 2 +-
drivers/usb/eth/r8152.c | 1 -
drivers/usb/gadget/at91_udc.h | 3 +-
drivers/usb/gadget/pxa27x_udc.c | 2 +-
drivers/usb/host/xhci-rcar-r8a779x_usb3_v3.h | 2 +-
drivers/usb/musb-new/musb_gadget.c | 4 +-
drivers/usb/musb-new/musb_regs.h | 2 +-
drivers/usb/musb-new/musb_uboot.c | 2 +-
drivers/usb/musb/musb_core.h | 10 +-
drivers/usb/musb/musb_hcd.c | 4 +-
drivers/video/anx9804.c | 10 +-
drivers/video/bus_vcxk.c | 10 +-
drivers/video/mxsfb.c | 2 +-
drivers/video/rockchip/rk_mipi.c | 1 -
drivers/video/stb_truetype.h | 1 -
drivers/video/tdo-tl070wsh30.c | 2 +-
drivers/watchdog/orion_wdt.c | 4 +-
drivers/xen/events.c | 1 -
drivers/xen/gnttab.c | 1 -
fs/btrfs/btrfs.c | 2 +-
fs/btrfs/kernel-shared/btrfs_tree.h | 1 -
fs/jffs2/summary.h | 10 +-
fs/ubifs/ubifs.h | 10 +-
include/atsha204a-i2c.h | 4 +-
include/configs/amcore.h | 1 -
include/configs/at91sam9263ek.h | 4 +-
include/configs/broadcom_bcm963158.h | 1 -
include/configs/broadcom_bcm968580xref.h | 1 -
include/configs/cm_t335.h | 1 -
include/configs/comtrend_ar5315u.h | 1 -
include/configs/comtrend_ar5387un.h | 1 -
include/configs/comtrend_ct5361.h | 1 -
include/configs/comtrend_wap5813n.h | 1 -
include/configs/controlcenterdc.h | 2 +-
include/configs/corenet_ds.h | 2 +-
include/configs/emsdp.h | 1 -
include/configs/etamin.h | 1 -
include/configs/huawei_hg556a.h | 1 -
include/configs/imx6-engicam.h | 2 +-
include/configs/imx7-cm.h | 6 +-
include/configs/km/km-mpc832x.h | 1 -
include/configs/ls1043a_common.h | 2 +-
include/configs/nas220.h | 1 -
include/configs/netgear_cg3100d.h | 1 -
include/configs/netgear_dgnd3700v2.h | 1 -
include/configs/novena.h | 2 +-
include/configs/omap3_beagle.h | 2 +-
include/configs/opos6uldev.h | 2 +-
include/configs/sagem_f at st1704.h | 1 -
include/configs/sfr_nb4_ser.h | 1 -
include/configs/socrates.h | 10 +-
include/configs/verdin-imx8mm.h | 1 -
include/div64.h | 2 +-
include/dm/platform_data/spi_coldfire.h | 1 -
include/dt-bindings/clock/mt7622-clk.h | 1 -
include/dt-bindings/comphy/comphy_data.h | 1 -
include/dt-bindings/mfd/dbx500-prcmu.h | 104 ++--
include/dt-bindings/pinctrl/dra.h | 1 -
include/dt-bindings/pinctrl/omap.h | 1 -
include/dt-bindings/pinctrl/stm32-pinfunc.h | 1 -
include/dt-bindings/thermal/thermal.h | 1 -
include/environment/distro/sf.h | 14 +-
include/environment/ti/nand.h | 1 -
include/faraday/ftpmu010.h | 2 +-
include/fsl-mc/fsl_dpni.h | 2 -
include/fsl_qe.h | 2 +-
include/fsl_wdog.h | 2 +-
include/generic-phy.h | 2 +-
include/imximage.h | 2 +-
include/linux/apm_bios.h | 2 +-
include/linux/compiler.h | 2 +-
include/linux/ioport.h | 2 +-
include/linux/list.h | 4 +-
include/linux/mtd/doc2000.h | 6 +-
include/linux/mtd/flashchip.h | 1 -
include/linux/mtd/partitions.h | 10 +-
include/linux/mtd/rawnand.h | 2 +-
include/linux/screen_info.h | 4 +-
include/linux/serial_reg.h | 8 +-
include/linux/usb/gadget.h | 6 +-
include/mc13783.h | 2 +-
include/mpc85xx.h | 6 +-
include/mtd/mtd-abi.h | 2 +-
include/mvmfp.h | 2 +-
include/part.h | 2 +-
include/phy.h | 4 +-
include/smem.h | 1 -
include/st_logo_data.h | 1 -
include/tsec.h | 2 +-
include/video_font_4x6.h | 512 +++++++++---------
net/tftp.c | 1 -
scripts/basic/Makefile | 2 +-
scripts/dtc/treesource.c | 1 -
scripts/kconfig/Makefile | 2 +-
scripts/kconfig/expr.c | 2 +-
scripts/kconfig/gconf.c | 2 +-
scripts/kconfig/list.h | 2 +-
test/dm/pci_ep.c | 1 -
test/dm/smem.c | 1 -
tools/asn1_compiler.c | 2 +-
tools/kwbimage.h | 4 +-
tools/patman/test/test01.txt | 20 +-
390 files changed, 867 insertions(+), 1112 deletions(-)
--
2.31.1
More information about the U-Boot
mailing list