i2c: tegra: i2c-slave: Fixing initialization seq
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 11 Feb 2011 12:20:38 +0000 (17:20 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:41:51 +0000 (21:41 -0800)
commit3b7701624f15832aadf9fa120fd2b079682c1ed3
tree1aed0fb3b6007aec4aa468d933bf2ad2d62008a4
parent3d6207d9466d462ae377d2f1cff0eefb3b74e21d
i2c: tegra: i2c-slave: Fixing initialization seq

Following are changes:
- Using the sysinit_call to initialize the driver.
- Using device from master adapter for slave adpter.

Original-Change-Id: I4dd0725694008a6aaee9a1d3a92d370a5c46de31
Reviewed-on: http://git-master/r/19249
Reviewed-by: Krishna Thota <kthota@nvidia.com>
Tested-by: Krishna Thota <kthota@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I62ba2e474d15764eccb2174444b194502e771307

Rebase-Id: Re845b3bac0f08ac25d0aa330acf0ee267ea8fcd4
drivers/i2c/busses/i2c-slave-tegra.c
drivers/i2c/i2c-slave.c
include/linux/i2c-slave.h