staging:iio:resolver:ad2s90 ensure name is passed to iio_core.
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 5 Oct 2011 14:27:57 +0000 (15:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 Oct 2011 20:47:46 +0000 (13:47 -0700)
commit19147f5bc636a44eade7e9af5a27cd000e5cd070
treea01cb7a679f9c14e4993c0acdcf13edded559f0f
parent72a86ccd3a4b60dacddc97095e13f32ee6117314
staging:iio:resolver:ad2s90 ensure name is passed to iio_core.

Scraps the pointless name define and adds an id table.
It's not technically required in drivers with only one supported
part but it does make the probe code more consistent.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/resolver/ad2s90.c