staging:iio:resolver:ad2s1210 ensure iio_dev->name is set
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 5 Oct 2011 14:28:03 +0000 (15:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 Oct 2011 20:47:47 +0000 (13:47 -0700)
commitbf52f0591f85eaa339a4707a4636bb62cba7ffff
tree056a3933b72af7ed8817a7bc2785a8772b63c0f7
parent10e4a52b6e471cea2e87e71f8708a8c8c6b75266
staging:iio:resolver:ad2s1210 ensure iio_dev->name is set

This is needed to ensure the required name attribute is
created. Using an id table is the route most consistent
with other drivers.

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/ad2s1210.c