iommu/omap: Use BIT(x) macros in omap-iopgtable.h
authorSuman Anna <s-anna@ti.com>
Mon, 20 Jul 2015 22:33:30 +0000 (17:33 -0500)
committerJoerg Roedel <jroedel@suse.de>
Mon, 3 Aug 2015 14:04:42 +0000 (16:04 +0200)
commit5ff98fa68c88d7babf96b7df7c713aaf2ed6558a
treed523999e6f8ecdcce8a5531ddcbe8e8fd427b9d1
parent99ee98d6ac964f1a2412d9fe08e577aa4f13905d
iommu/omap: Use BIT(x) macros in omap-iopgtable.h

Switch to using the BIT(x) macros in omap-iopgtable.h where
possible. This eliminates the following checkpatch check
warning:
    "CHECK: Prefer using the BIT macro"

A couple of macros that used zero bit shifting are defined
directly to avoid the above warning on one of the macros.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iopgtable.h