summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/ad7793.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-11-21 16:27:00 +0000
committerJonathan Cameron <jic23@kernel.org>2012-11-30 12:57:08 +0000
commite786cc26dcc52caba53d17a80888ed0b46d097f8 (patch)
tree1783f4e8d47eda541a68caaf8b6bbd3f97253dc7 /include/linux/platform_data/ad7793.h
parent891c8bcec1e12ed0f2830c52e863d2723e9dbd4e (diff)
downloadblackbird-op-linux-e786cc26dcc52caba53d17a80888ed0b46d097f8.tar.gz
blackbird-op-linux-e786cc26dcc52caba53d17a80888ed0b46d097f8.zip
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 'include/linux/platform_data/ad7793.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud