aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author송은봉 <eunb.song@samsung.com>2013-04-18 10:01:05 -0400
committerWolfram Sang <wsa@the-dreams.de>2013-04-23 12:29:11 -0400
commit73f37dc3aa566f2533e6fda83a7c0a83657bada5 (patch)
tree18c07ef78e20aa20aa0b7bcb59f81590e092abca
parent2637e5fd232d421b680757944f613d4b1a36ae26 (diff)
i2c: octeon: use HZ in timeout value
HZ based value is better than a magic number. Signed-off-by: Eunbong Song <eunb.song@samsung.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--drivers/i2c/busses/i2c-octeon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-octeon.c b/drivers/i2c/busses/i2c-octeon.c
index b2e32596088d..956fe320f313 100644
--- a/drivers/i2c/busses/i2c-octeon.c
+++ b/drivers/i2c/busses/i2c-octeon.c
@@ -440,7 +440,7 @@ static struct i2c_adapter octeon_i2c_ops = {
440 .owner = THIS_MODULE, 440 .owner = THIS_MODULE,
441 .name = "OCTEON adapter", 441 .name = "OCTEON adapter",
442 .algo = &octeon_i2c_algo, 442 .algo = &octeon_i2c_algo,
443 .timeout = 2, 443 .timeout = HZ / 50,
444}; 444};
445 445
446/** 446/**