[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190123163122.GA4807@nishad>
Date: Wed, 23 Jan 2019 22:01:26 +0530
From: Nishad Kamdar <nishadkamdar@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: NeilBrown <neil@...wn.name>,
Matthias Brugger <matthias.bgg@...il.com>,
Sergio Paracuellos <sergio.paracuellos@...il.com>,
Kees Cook <keescook@...omium.org>,
John Crispin <blogic@...nwrt.org>, devel@...verdev.osuosl.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Nishad Kamdar <nishadkamdar@...il.com>
Subject: [PATCH] staging: mt7621-pinctrl: Remove space after cast
This patch removes space after a cast as it
is not needed.
Issue found by checkpatch.
Signed-off-by: Nishad Kamdar <nishadkamdar@...il.com>
---
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
index 80e7067cfb79..3e959fa73703 100644
--- a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
+++ b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
@@ -363,7 +363,7 @@ static int rt2880_pinmux_probe(struct platform_device *pdev)
}
range = devm_kzalloc(p->dev, sizeof(*range) + 4, GFP_KERNEL);
- range->name = name = (char *) &range[1];
+ range->name = name = (char *)&range[1];
sprintf(name, "pio");
range->npins = __be32_to_cpu(*ngpio);
range->base = __be32_to_cpu(*gpiobase);
--
2.17.1
Powered by blists - more mailing lists