]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
iio: core: add link file for iio_device
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 3 Apr 2014 12:26:53 +0000 (17:56 +0530)
committerSimone Willett <swillett@nvidia.com>
Wed, 9 Apr 2014 21:35:43 +0000 (14:35 -0700)
commitd703eccd71e6953307d9e096ed2281c8d2a01b33
tree23d69fe989bb4806c68cd867aef807ba3308695e
parent86384c3e1db348509887c7bbdbe9f3e3c5be8941
iio: core: add link file for iio_device

When iio device get registered, the iio device name has the
unique ID and all sysfs created under this device. The unique
id depends on the order it is called and so does nto give the
consistent deviceid for given device.

Hence add the link to point the iio device with unique name.

Change-Id: I0442de9fe27ba0c0e182b9469e5dc707dc31c850
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/391881
(cherry picked from commit 567d73c466881fcf5bbb9435d1a43e40fc9488af)
Reviewed-on: http://git-master/r/394087
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/iio/industrialio-core.c