Skip to content

Commit

Permalink
spi: spi-sh-msiof: Fix checkpatch error Complex macros should use ()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aishwarya R authored and Mark Brown committed Apr 14, 2020
1 parent afedb4b commit 21fb1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-sh-msiof.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 21fb1f4

Please sign in to comment.