summaryrefslogtreecommitdiff
path: root/include/target/target_core_transport.h
diff options
context:
space:
mode:
authorBryan Freed <bfreed@chromium.org>2011-06-21 22:54:56 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-28 21:52:24 (GMT)
commit8f518d71f392b597832653f9438332ae27019da1 (patch)
treebdb596f36e01cd099c2cd034d6597ca80265cd69 /include/target/target_core_transport.h
parentbeeada734f9c6a11dbc37790848a19f3582440fc (diff)
downloadlinux-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