projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afedb4b
)
spi: spi-sh-msiof: Fix checkpatch error Complex macros should use ()
author
Aishwarya R
<aishwaryarj100@gmail.com>
Mon, 6 Apr 2020 15:53:01 +0000
(21:23 +0530)
committer
Mark Brown
<broonie@kernel.org>
Tue, 14 Apr 2020 17:36:34 +0000
(18:36 +0100)
Fixed checkpatch error "Macros with complex values should be enclosed
in parentheses"
Signed-off-by: Aishwarya R <raishwar@visteon.com>
Link:
https://lore.kernel.org/r/20200406155301.21768-1-raishwar@visteon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-msiof.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-sh-msiof.c
b/drivers/spi/spi-sh-msiof.c
index
1c11a00
..
b2579af
100644
(file)
--- a/
drivers/spi/spi-sh-msiof.c
+++ b/
drivers/spi/spi-sh-msiof.c
@@
-1398,7
+1398,7
@@
static int sh_msiof_spi_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(sh_msiof_spi_pm_ops, sh_msiof_spi_suspend,
sh_msiof_spi_resume);
-#define DEV_PM_OPS
&sh_msiof_spi_pm_ops
+#define DEV_PM_OPS
(&sh_msiof_spi_pm_ops)
#else
#define DEV_PM_OPS NULL
#endif /* CONFIG_PM_SLEEP */