summaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2021-03-04 19:03:09 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2021-05-10 10:41:44 +0300
commitb19a5aec3512b6c34633e208ff9b645a30726999 (patch)
tree41818465b811f510f53e0337d35f39557e8b32bd /drivers/reset
parent71400c3fc45ee783d2b0b55f1431263debcbd3c8 (diff)
downloadlinux-b19a5aec3512b6c34633e208ff9b645a30726999.tar.xz
reset: uniphier: enclose UNIPHIER_RESET_ID_END value in parentheses
Fixes a checkpatch error: ERROR: Macros with complex values should be enclosed in parentheses #23: FILE: drivers/reset/reset-uniphier.c:23: +#define UNIPHIER_RESET_ID_END (unsigned int)(-1) Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-uniphier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c
index 279e535bf5d8..5f75783f9397 100644
--- a/drivers/reset/reset-uniphier.c
+++ b/drivers/reset/reset-uniphier.c
@@ -20,7 +20,7 @@ struct uniphier_reset_data {
#define UNIPHIER_RESET_ACTIVE_LOW BIT(0)
};
-#define UNIPHIER_RESET_ID_END (unsigned int)(-1)
+#define UNIPHIER_RESET_ID_END ((unsigned int)(-1))
#define UNIPHIER_RESET_END \
{ .id = UNIPHIER_RESET_ID_END }