summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-11-21 20:27:00 +0400
committerJonathan Cameron <jic23@kernel.org>2012-11-30 16:57:08 +0400
commite786cc26dcc52caba53d17a80888ed0b46d097f8 (patch)
tree1783f4e8d47eda541a68caaf8b6bbd3f97253dc7 /drivers/iio
parent891c8bcec1e12ed0f2830c52e863d2723e9dbd4e (diff)
downloadlinux-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