diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2023-04-24 14:18:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-05-02 11:33:58 +0200 |
commit | 18b5f832191f4fe12715523b9d5c4029b2b6082a (patch) | |
tree | 831adce6f7009a8f7154ab40e07dc599ca856bbb | |
parent | 7236fc815b7fe9f01dad0cd08fa429f49994dcf3 (diff) | |
download | barebox-18b5f832191f4fe12715523b9d5c4029b2b6082a.tar.gz barebox-18b5f832191f4fe12715523b9d5c4029b2b6082a.tar.xz |
treewide: drop trailing space
Found by manual inspection of the output of:
rg '\s+$' | rg -v dts/
Patch can be verified by observing that no diff results from:
git show --ignore-space-at-eol
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Link: https://lore.barebox.org/20230424121805.150434-4-ahmad@a3f.at
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
32 files changed, 35 insertions, 35 deletions
diff --git a/Documentation/boards/ibase-mi991af.rst b/Documentation/boards/ibase-mi991af.rst index a22e5fcf79..8e40a0d657 100644 --- a/Documentation/boards/ibase-mi991af.rst +++ b/Documentation/boards/ibase-mi991af.rst @@ -40,4 +40,4 @@ To continue please proceed with barebox :ref:`barebox_on_uefi` documentation. Links ----- - * https://www.ibase.com.tw/english/ProductDetail/EmbeddedComputing/MI991 + * https://www.ibase.com.tw/english/ProductDetail/EmbeddedComputing/MI991 diff --git a/Documentation/user/state.rst b/Documentation/user/state.rst index a0e27d4fe8..594c2c1594 100644 --- a/Documentation/user/state.rst +++ b/Documentation/user/state.rst @@ -24,7 +24,7 @@ barebox itself uses a *state* driver to access the variables in the persistent memory. Currently there is only one implementation, enabled by -``CONFIG_STATE_DRV=y``. Without driver, the state framework will silently +``CONFIG_STATE_DRV=y``. Without driver, the state framework will silently fail and be non-functional. For the Linux run-time there is a userspace tool_ to do diff --git a/arch/arm/boards/boundarydevices-nitrogen6/Makefile b/arch/arm/boards/boundarydevices-nitrogen6/Makefile index b365c8eab0..da63d2625f 100644 --- a/arch/arm/boards/boundarydevices-nitrogen6/Makefile +++ b/arch/arm/boards/boundarydevices-nitrogen6/Makefile @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-y += board.o +obj-y += board.o lwl-y += lowlevel.o diff --git a/arch/arm/boards/ls1046ardb/board.c b/arch/arm/boards/ls1046ardb/board.c index 921629d2a8..ee70171ca3 100644 --- a/arch/arm/boards/ls1046ardb/board.c +++ b/arch/arm/boards/ls1046ardb/board.c @@ -33,7 +33,7 @@ struct nxid { u8 mac_count; /* 0x40 Number of MAC addresses */ u8 mac_flag; /* 0x41 MAC table flags */ u8 mac[MAX_NUM_PORTS][6]; /* 0x42 - 0xa1 MAC addresses */ - u8 res_2[90]; /* 0xa2 - 0xfb Reserved */ + u8 res_2[90]; /* 0xa2 - 0xfb Reserved */ u32 crc; /* 0xfc - 0xff CRC32 checksum */ } __packed; diff --git a/arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg index e6e37672aa..7deaaa9b7b 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-lanmcu.imxcfg @@ -61,7 +61,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg index 16f2f596c7..c9c9d076f5 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-plybas.imxcfg @@ -63,7 +63,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg index 1692c1e087..71df95b968 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-plym2m.imxcfg @@ -63,7 +63,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg index 2d0064e8c1..deced6901b 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-prti6q.imxcfg @@ -65,7 +65,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg index 887811fa42..58530910fc 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-prtmvt.imxcfg @@ -63,7 +63,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg index 16f2f596c7..c9c9d076f5 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-prtrvt.imxcfg @@ -63,7 +63,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg index 7f2662567e..5073458a03 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-prtvt7.imxcfg @@ -61,7 +61,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg index b86a32be0c..a879229923 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-vicut1.imxcfg @@ -63,7 +63,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg index 3abb21b70e..8e41a410df 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-vicut1q.imxcfg @@ -66,7 +66,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg b/arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg index a8178fe258..54a86a0008 100644 --- a/arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg +++ b/arch/arm/boards/protonic-imx6/flash-header-vicutp.imxcfg @@ -126,7 +126,7 @@ wm 32 0x021b001c 0x04008040 /* MPZQHWCTRL */ wm 32 0x021b0800 0xa1390003 /* ZQ mode = 3 force calibration */ -wm 32 0x021b4800 0xa1390003 +wm 32 0x021b4800 0xa1390003 wm 32 0x021b0020 MDREF_64KHZ diff --git a/arch/arm/boards/zii-imx8mq-dev/ddr_init.c b/arch/arm/boards/zii-imx8mq-dev/ddr_init.c index 902d0ee3cd..2d4133fb13 100644 --- a/arch/arm/boards/zii-imx8mq-dev/ddr_init.c +++ b/arch/arm/boards/zii-imx8mq-dev/ddr_init.c @@ -178,7 +178,7 @@ void ddr_init(void) reg32_write(DDRC_SWCTL(0), 0x0000); /* * ------------------- 9 ------------------- - * Set DFIMISC.dfi_init_start to 1 + * Set DFIMISC.dfi_init_start to 1 * ----------------------------------------- */ reg32_write(DDRC_DFIMISC(0), 0x00000030); diff --git a/arch/arm/dts/imx6qdl-nitrogen6_max.dtsi b/arch/arm/dts/imx6qdl-nitrogen6_max.dtsi index 5d301289f3..0f6d17ad6c 100644 --- a/arch/arm/dts/imx6qdl-nitrogen6_max.dtsi +++ b/arch/arm/dts/imx6qdl-nitrogen6_max.dtsi @@ -39,7 +39,7 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. */ - + / { chosen { environment { diff --git a/arch/arm/dts/vf610.dtsi b/arch/arm/dts/vf610.dtsi index 3060031b8a..d1297e952c 100644 --- a/arch/arm/dts/vf610.dtsi +++ b/arch/arm/dts/vf610.dtsi @@ -9,4 +9,4 @@ mmc0 = &esdhc0; mmc1 = &esdhc1; }; -}; +}; diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi index 3791f743a4..f7a0d70bab 100644 --- a/arch/arm/dts/zynq-7000.dtsi +++ b/arch/arm/dts/zynq-7000.dtsi @@ -8,7 +8,7 @@ clocks = <&clkc 10>, <&clkc 43>; clock-names = "ref_clk", "pclk"; status = "disabled"; - + #address-cells = <1>; #size-cells = <0>; }; diff --git a/arch/arm/mach-at91/sam9263_ll.c b/arch/arm/mach-at91/sam9263_ll.c index 2beeaccd61..8855a679fd 100644 --- a/arch/arm/mach-at91/sam9263_ll.c +++ b/arch/arm/mach-at91/sam9263_ll.c @@ -17,12 +17,12 @@ static void sam9263_pmc_init(const struct sam92_pmc_config *config) /* Setting PLL A and divider A */ at91_pmc_cfg_plla(IOMEM(AT91SAM926X_BASE_PMC), AT91_PMC_MUL_(config->mula) | - AT91_PMC_OUT_2 | // 190 to 240 MHz + AT91_PMC_OUT_2 | // 190 to 240 MHz config->diva, // Divider 0); /* Selection of Master Clock and Processor Clock */ - + /* PCK = PLLA = 2 * MCK */ at91_pmc_cfg_mck(IOMEM(AT91SAM926X_BASE_PMC), AT91_PMC_CSS_SLOW diff --git a/arch/arm/mach-omap/am33xx_bbu_nand.c b/arch/arm/mach-omap/am33xx_bbu_nand.c index 2041cf3c0b..40e382780a 100644 --- a/arch/arm/mach-omap/am33xx_bbu_nand.c +++ b/arch/arm/mach-omap/am33xx_bbu_nand.c @@ -213,7 +213,7 @@ static int nand_update_handler_complete(struct bbu_handler *handler, buf = xzalloc(mtd->erasesize); memcpy(buf, data->image, data->len); - + for (i = 0; i < 4; i++) { if (mtd_peb_is_bad(mtd, i)) { pr_info("PEB%d is bad, skipping\n", i); diff --git a/commands/of_overlay.c b/commands/of_overlay.c index b80f371c5c..b0ca57749b 100644 --- a/commands/of_overlay.c +++ b/commands/of_overlay.c @@ -36,7 +36,7 @@ static int do_of_overlay(int argc, char *argv[]) printf("Support for live tree overlays is disabled. Enable CONFIG_OF_OVERLAY_LIVE\n"); return 1; } - + fdt = read_file(argv[optind], &size); if (!fdt) { printf("cannot read %s\n", argv[optind]); diff --git a/drivers/clk/clk-qoric.c b/drivers/clk/clk-qoric.c index f7dbf7230d..667ce6df29 100644 --- a/drivers/clk/clk-qoric.c +++ b/drivers/clk/clk-qoric.c @@ -592,7 +592,7 @@ static void __init clockgen_init(struct device_node *np, pr_err("sysclk not found: %pe\n", clockgen.sysclk); return; } - + clockgen.coreclk = of_clk_get(clockgen.node, 1); if (IS_ERR(clockgen.coreclk)) clockgen.coreclk = NULL; diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c index b0d98a929c..7c882946b9 100644 --- a/drivers/ddr/fsl/ctrl_regs.c +++ b/drivers/ddr/fsl/ctrl_regs.c @@ -284,7 +284,7 @@ static void set_timing_cfg_0(struct fsl_ddr_controller *c) /* * for single quad-rank DIMM and two-slot DIMMs * to avoid ODT overlap - */ + */ switch (avoid_odt_overlap(c, dimm_params)) { case 2: twrt_mclk = 2; diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 1cfd65f408..f50b860c45 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -40,7 +40,7 @@ config NAND_IMX "MXC" series: i.MX21/25/27/31/35/51/53. This is not for the "MXS" series i.MX processors (23 & 28), or i.MX6 - and later, which use the GPMI NAND controller from the MXS series. + and later, which use the GPMI NAND controller from the MXS series. See the i.MX 'mxs' driver for those chips. config NAND_FSL_IFC diff --git a/drivers/mtd/nand/nand_omap_gpmc.c b/drivers/mtd/nand/nand_omap_gpmc.c index c5e50d27c8..ab36183005 100644 --- a/drivers/mtd/nand/nand_omap_gpmc.c +++ b/drivers/mtd/nand/nand_omap_gpmc.c @@ -54,7 +54,7 @@ * Copyright (c) 2004 Micron Technology Inc. * Copyright (c) 2004 David Brownell * - * + * */ #include <common.h> diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c index 318eb9be02..c6108c488b 100644 --- a/drivers/net/usb/ax88179_178a.c +++ b/drivers/net/usb/ax88179_178a.c @@ -469,7 +469,7 @@ static int ax88179_rx_fixup(struct usbnet *dev, void *buf, int len) __func__, frame_pos, pkt_len); net_receive(&dev->edev, buf + frame_pos, pkt_len); - + pkt_hdr++; frame_pos += ((pkt_len + 7) & 0xfff8) - 2; } diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 3eb4746fb7..42774a561c 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -285,7 +285,7 @@ static struct regulator_internal *of_regulator_get(struct device *dev, ret = of_device_ensure_probed(node); if (ret) { - /* + /* * If "barebox,allow-dummy-supply" property is set for regulator * provider allow use of dummy regulator (NULL is returned). * Check regulator node and its parent if this setting is set diff --git a/drivers/serial/serial_omap4_usbboot.c b/drivers/serial/serial_omap4_usbboot.c index 709398966f..6592be4f35 100644 --- a/drivers/serial/serial_omap4_usbboot.c +++ b/drivers/serial/serial_omap4_usbboot.c @@ -54,7 +54,7 @@ static int serial_omap4_usbboot_probe(struct device *dev) ret = omap4_usbboot_open(); if (ret) return ret; - + priv = xzalloc(sizeof(*priv)); priv->cdev.dev = dev; diff --git a/include/crypto/des.h b/include/crypto/des.h index abc3d9c59d..645a9c9969 100644 --- a/include/crypto/des.h +++ b/include/crypto/des.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -/* +/* * DES & Triple DES EDE Cipher Algorithms. */ diff --git a/include/linux/idr.h b/include/linux/idr.h index 8a0f452d76..50c9e3f81a 100644 --- a/include/linux/idr.h +++ b/include/linux/idr.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* * include/linux/idr.h - * + * * 2002-10-18 written by Jim Houston jim.houston@ccur.com * Copyright (C) 2002 by Concurrent Computer Corporation * diff --git a/include/tlsf.h b/include/tlsf.h index 161176d5ac..3fa2203715 100644 --- a/include/tlsf.h +++ b/include/tlsf.h @@ -11,10 +11,10 @@ ** ** This implementation was written to the specification ** of the document, therefore no GPL restrictions apply. -** +** ** Copyright (c) 2006-2016, Matthew Conte ** All rights reserved. -** +** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions are met: ** * Redistributions of source code must retain the above copyright @@ -25,7 +25,7 @@ ** * Neither the name of the copyright holder nor the ** names of its contributors may be used to endorse or promote products ** derived from this software without specific prior written permission. -** +** ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE diff --git a/scripts/socfpga_import_preloader b/scripts/socfpga_import_preloader index 2bec9f2d21..bd54e1b913 100755 --- a/scripts/socfpga_import_preloader +++ b/scripts/socfpga_import_preloader @@ -8,7 +8,7 @@ usage() { -b|--board <BOARD_DIRECTORY> optional: -e|--embedded-sdk <ALTERA_EMBEDDED_SDK>" - echo "EXAMPLE: $0 -i ~/cv_soc_devkit_ghrd/hps_isw_handoff/soc_system_hps_0/ -b arch/arm/boards/altera-socdk -e ~/altera-embedded-sdk/" + echo "EXAMPLE: $0 -i ~/cv_soc_devkit_ghrd/hps_isw_handoff/soc_system_hps_0/ -b arch/arm/boards/altera-socdk -e ~/altera-embedded-sdk/" exit 1 } |