]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: exynos5: remove extra line and fix an assignment
authorNaveen Krishna Ch <ch.naveen@samsung.com>
Thu, 26 Jun 2014 05:14:58 +0000 (10:44 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 17 Jul 2014 09:59:21 +0000 (11:59 +0200)
commit290025d9ffd6ba48b4e18e65e4a9aa668383fbf5
tree86442c8d335fbf202a25f252261dd55048783293
parent9f89df3ed6846629c8a30c42a0856f891b5b47d3
i2c: exynos5: remove extra line and fix an assignment

This patch does the following in exynos5_i2c_message_start() function
1. Fixes an assignment
   As, "i2c_auto_conf" is initialized to '0' at the beginning of the
   function and HSI2C_READ_WRITE is defined as (1u << 16)

   Using "|=" for the first assignment is more readable.

2. Removes an extra line

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-exynos5.c