misc: ad525x_dpot: Add support for SPI module device table matching
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 18 Nov 2011 10:05:11 +0000 (11:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Nov 2011 19:27:02 +0000 (11:27 -0800)
Passing device name via platform data, is a leftover from times where
SPI module device table matching was not existent.

* Add id_table and remove old mechanism.
(To my knowledge no intree boards affected)
* Miscellaneous other cleanup.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found