commit | e786cc26dcc52caba53d17a80888ed0b46d097f8 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Nov 21 16:27:00 2012 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Nov 30 12:57:08 2012 +0000 |
tree | 1783f4e8d47eda541a68caaf8b6bbd3f97253dc7 | |
parent | 891c8bcec1e12ed0f2830c52e863d2723e9dbd4e [diff] |
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>