i2c: tegra: Use device name for adapter name
authorJon Hunter <jonathanh@nvidia.com>
Fri, 26 Aug 2016 13:09:02 +0000 (14:09 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 30 Aug 2016 19:59:37 +0000 (21:59 +0200)
commit0da9ab89aba975d2b27b829636e253c5b2771c13
tree7effa0dbbefcc60e7089d38b69b75b0b30a9838c
parenta9e32cd81624faf4deb7c850f846efc00a3d36b4
i2c: tegra: Use device name for adapter name

All Tegra I2C devices have the name "Tegra I2C adapter" which is not
very useful when viewing the I2C adapter names via the sysfs. Therefore,
use the device name, which is unique for each I2C device, instead.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-tegra.c