summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/eprom.c
diff options
context:
space:
mode:
authorJubin John <jubin.john@intel.com>2016-02-14 20:20:42 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:45:38 -0500
commit3f34d9588ff3b8adc4b5828327554fce98a94204 (patch)
tree13234ffd3ac1ababbd5b1f2ff6b424f2ac3aa2b5 /drivers/staging/rdma/hfi1/eprom.c
parent58721b8f8c71a643edf9d51be159c5db39d843c6 (diff)
staging/rdma/hfi1: Use BIT_ULL macro
Use BIT_ULL macro to fix checkpatch check: CHECK: Prefer using the BIT_ULL macro Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/eprom.c')
-rw-r--r--drivers/staging/rdma/hfi1/eprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/eprom.c b/drivers/staging/rdma/hfi1/eprom.c
index 9a0ddd719bf2..d7250af1d08b 100644
--- a/drivers/staging/rdma/hfi1/eprom.c
+++ b/drivers/staging/rdma/hfi1/eprom.c
@@ -102,7 +102,7 @@
#define COUNT_DELAY_SEC(n) ((n) * (1000000 / WAIT_SLEEP_US))
/* GPIO pins */
-#define EPROM_WP_N (1ull << 14) /* EPROM write line */
+#define EPROM_WP_N BIT_ULL(14) /* EPROM write line */
/*
* Use the EP mutex to guard against other callers from within the driver.