staging:iio: core: add datasheet_name to chan_spec
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 5 Dec 2011 21:56:00 +0000 (21:56 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 19:41:45 +0000 (11:41 -0800)
commit6c63dded7fcd5b69f8492895b5584333e32b822d
tree2e7a4b841bfe688d70524d6b731cb8cf481df39d
parent18cffbedc2c4af8a83816a9ee17a010138abd36b
staging:iio: core: add datasheet_name to chan_spec

This allows for matching against the name given
on a datasheet, however silly/inconsistent it might
be.

Useful for in kernel interfaces.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/iio.h