[linux-yocto] [PATCH 41/87] drivers/i2c/ai2c: Remove references to outdated types

Paul Butler butler.paul at gmail.com
Mon May 27 09:56:12 PDT 2013


From: Michael Bringmann <michael.bringmann at lsi.com>

Signed-off-by: Michael Bringmann <michael.bringmann at lsi.com>
---
 drivers/i2c/busses/ai2c/regs/ai2c_regions.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/ai2c/regs/ai2c_regions.h b/drivers/i2c/busses/ai2c/regs/ai2c_regions.h
index a6fe19c..97e41e2 100644
--- a/drivers/i2c/busses/ai2c/regs/ai2c_regions.h
+++ b/drivers/i2c/busses/ai2c/regs/ai2c_regions.h
@@ -49,8 +49,7 @@
 
 
 #define AI2C_REGION_ID(node, target) \
-	((u32) \
-	((((node) & AI2C_NODE_MASK) << 16) | ((target) & AI2C_TARGET_MASK)))
+	((((node) & AI2C_NODE_MASK) << 16) | ((target) & AI2C_TARGET_MASK))
 
 
 /* ---------------------------------- */
-- 
1.8.3




More information about the linux-yocto mailing list