]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit7f3379de9cd91e52c40a48b8c01ebdb2d2eec5cf
treef24d960081a21bf72628db7346a9f05f3eea45b6
parentcfcfc9eca2bcbd26a8e206baeb005b055dbf8e37
misc: ad525x_dpot: Add support for SPI module device table matching

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>
drivers/misc/ad525x_dpot-i2c.c
drivers/misc/ad525x_dpot-spi.c
drivers/misc/ad525x_dpot.c
drivers/misc/ad525x_dpot.h