diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-06-28 21:02:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-06 17:32:24 +0200 |
commit | f4da9b1ed66fa6a97d20fa3a93f2a83097c7717c (patch) | |
tree | d9fa499039f2b597212f62c88cd86817e3a2c9c7 /drivers/staging/mt7621-pinctrl | |
parent | b3cd051dc3a84fffe5ff1a896a6b6c7a33a96fe6 (diff) |
staging: mt7621-pinctrl: avoid space after if condition
Adding spaces between if condition and parenthesis are not
needed at all and checkpatch script complains about them.
Fix one in driver code.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-pinctrl')
-rw-r--r-- | drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c index 1e49a7b9e5fb..6c9517f10104 100644 --- a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c +++ b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c @@ -357,7 +357,7 @@ static int rt2880_pinmux_pins(struct rt2880_priv *p) p->pads = devm_kcalloc(p->dev, p->max_pins, sizeof(struct pinctrl_pin_desc), GFP_KERNEL); - if (!p->pads || !p->gpio ) { + if (!p->pads || !p->gpio) { dev_err(p->dev, "Failed to allocate gpio data\n"); return -ENOMEM; } |