i2c: tegra: drop duplicated code for assigning algo
authorBarry Song <21cnbao@gmail.com>
Mon, 7 Sep 2015 03:08:55 +0000 (03:08 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 20 Oct 2015 15:38:19 +0000 (17:38 +0200)
commit26f590e674d3ecf7517148fdb62d2983469bd993
tree4b2b1899a8d14c4d5fc57f94f0de89db8fe2058e
parent35780e860f7d4a5f33f6ceadf09038ee26f1ef43
i2c: tegra: drop duplicated code for assigning algo

This code is repeated in probe:
i2c_dev->adapter.algo = &tegra_i2c_algo;

Cc: Donglin Peng <pengdonglin137@163.com>
Signed-off-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-tegra.c