diff options
author | Bryan Freed <bfreed@chromium.org> | 2011-06-21 22:54:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-28 21:52:24 (GMT) |
commit | 8f518d71f392b597832653f9438332ae27019da1 (patch) | |
tree | bdb596f36e01cd099c2cd034d6597ca80265cd69 /include/target/target_core_transport.h | |
parent | beeada734f9c6a11dbc37790848a19f3582440fc (diff) | |
download | linux-8f518d71f392b597832653f9438332ae27019da1.tar.xz |
iio: light sensor: Fix a panic in the tsl2563 driver.
Add a wrapper for this driver around the IIO_CHAN() wrapper to make channel
parameters more readable. This fixes a panic caused by the info_masks being
accidentally passed in as channel2 parameters which easily surpass the size
of the iio_modifier_names_light array.
Signed-off-by: Bryan Freed <bfreed@chromium.org>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/target/target_core_transport.h')
0 files changed, 0 insertions, 0 deletions