]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: lis3l02dq add _type attributes for all scan elements
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 21 Sep 2010 13:40:47 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 17:34:39 +0000 (10:34 -0700)
commite94dde3bec68155d697974ddb2630a7b16c721ac
tree5d8d300641a59b4c2924b87046e5003a62bce0de
parent521d80f923814cba7f9f61b006d63f6aec264ceb
staging: iio: lis3l02dq add _type attributes for all scan elements

Also, adds a macro to make defining such attributes simple.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/lis3l02dq_ring.c
drivers/staging/iio/ring_generic.h