i2c: tegra: use of_match_ptr() for match_table initialization
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 10 Jul 2012 11:20:42 +0000 (16:20 +0530)
committerSimone Willett <swillett@nvidia.com>
Thu, 19 Jul 2012 22:38:28 +0000 (15:38 -0700)
commit2f88a49dcde9f951459ed3ff92b62d03c0dcb690
tree923562e3aa13910ff72d86267df8b94079a80329
parent20f4cdc91d6babfe87a2b196aac524a7855c4d55
i2c: tegra: use of_match_ptr() for match_table initialization

In place of defining match_table for non-DT based as NULL,
use of_match_ptr() for initialzing the of_match_table.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>

Cherry-picked from mainline
02d8bf8dc6b09cb810599c64d47da3bdf4f85882
Fixed conflicts.

Change-Id: I71994c49813396ad6b3dfa3fd616d9585203adba
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/116464
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
drivers/i2c/busses/i2c-tegra.c