diff options
author | Aishwarya R <aishwaryarj100@gmail.com> | 2020-04-06 18:53:01 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-14 20:36:34 +0300 |
commit | 21fb1f41bcdf436f6969f4651dce0df62985f69a (patch) | |
tree | 2e17d153eb2f783ad71041d2b152529c411cb72c /drivers/spi/spi-sh-msiof.c | |
parent | afedb4b7282b4c532d8aea105943e71c0efb3a6b (diff) | |
download | linux-21fb1f41bcdf436f6969f4651dce0df62985f69a.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spi-sh-msiof.c')
-rw-r--r-- | drivers/spi/spi-sh-msiof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index 1c11a00a2c36..b2579af0e3eb 100644 --- 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 */ |