diff mbox series

[1/3] net: libertas: remove leading spaces before tabs

Message ID 1621407345-10625-2-git-send-email-tanghui20@huawei.com (mailing list archive)
State Accepted
Commit bd65fe550973b8fafea9b06aa7435931ad13ae27
Delegated to: Kalle Valo
Headers show
Series net: wireless: remove leading spaces before tabs | expand

Commit Message

Hui Tang May 19, 2021, 6:55 a.m. UTC
There are a few leading spaces before tabs and remove it by running the
following commard:

	$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
	$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'

Cc: Ganapathi Bhat <ganapathi.bhat@nxp.com>
Signed-off-by: Hui Tang <tanghui20@huawei.com>
---
 drivers/net/wireless/marvell/libertas/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo June 15, 2021, 1:16 p.m. UTC | #1
Hui Tang <tanghui20@huawei.com> wrote:

> There are a few leading spaces before tabs and remove it by running the
> following commard:
> 
> 	$ find . -name '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
> 	$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'
> 
> Cc: Ganapathi Bhat <ganapathi.bhat@nxp.com>
> Signed-off-by: Hui Tang <tanghui20@huawei.com>

3 patches applied to wireless-drivers-next.git, thanks.

bd65fe550973 libertas: remove leading spaces before tabs
084eb606dbcf rt2x00: remove leading spaces before tabs
7b7362ba27a2 wlcore: remove leading spaces before tabs
diff mbox series

Patch

diff --git a/drivers/net/wireless/marvell/libertas/main.c b/drivers/net/wireless/marvell/libertas/main.c
index ee4cf34..64fc5e4 100644
--- a/drivers/net/wireless/marvell/libertas/main.c
+++ b/drivers/net/wireless/marvell/libertas/main.c
@@ -941,7 +941,7 @@  struct lbs_private *lbs_add_card(void *card, struct device *dmdev)
 	wdev->netdev = dev;
 	priv->dev = dev;
 
- 	dev->netdev_ops = &lbs_netdev_ops;
+	dev->netdev_ops = &lbs_netdev_ops;
 	dev->watchdog_timeo = 5 * HZ;
 	dev->ethtool_ops = &lbs_ethtool_ops;
 	dev->flags |= IFF_BROADCAST | IFF_MULTICAST;