diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-11-21 16:27:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-30 12:57:08 (GMT) |
commit | e786cc26dcc52caba53d17a80888ed0b46d097f8 (patch) | |
tree | 1783f4e8d47eda541a68caaf8b6bbd3f97253dc7 /drivers/iio | |
parent | 891c8bcec1e12ed0f2830c52e863d2723e9dbd4e (diff) | |
download | linux-fsl-qoriq-e786cc26dcc52caba53d17a80888ed0b46d097f8.tar.xz |
staging:iio:ad7793: Implement stricter id checking
Instead of checking whether the id of the current device matches the id of any
device supported by the driver, check whether it matches the id of the device
which the driver was instantiated for. This makes sure that the driver is not
accidentally instantiated for the wrong device.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions