mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
spi: spi-sh-msiof: Fix checkpatch error Complex macros should use ()
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>
This commit is contained in:
parent
afedb4b728
commit
21fb1f41bc
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user