summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2023-04-24 14:18:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-05-02 11:33:58 +0200
commit18b5f832191f4fe12715523b9d5c4029b2b6082a (patch)
tree831adce6f7009a8f7154ab40e07dc599ca856bbb /drivers
parent7236fc815b7fe9f01dad0cd08fa429f49994dcf3 (diff)
downloadbarebox-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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/clk-qoric.c2
-rw-r--r--drivers/ddr/fsl/ctrl_regs.c2
-rw-r--r--drivers/mtd/nand/Kconfig2
-rw-r--r--drivers/mtd/nand/nand_omap_gpmc.c2
-rw-r--r--drivers/net/usb/ax88179_178a.c2
-rw-r--r--drivers/regulator/core.c2
-rw-r--r--drivers/serial/serial_omap4_usbboot.c2
7 files changed, 7 insertions, 7 deletions
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;