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>
This commit is contained in:
송은봉 2013-04-18 14:01:05 +00:00 committed by Wolfram Sang
parent 2637e5fd23
commit 73f37dc3aa

View File

@ -440,7 +440,7 @@ static struct i2c_adapter octeon_i2c_ops = {
.owner = THIS_MODULE,
.name = "OCTEON adapter",
.algo = &octeon_i2c_algo,
.timeout = 2,
.timeout = HZ / 50,
};
/**