iio: adc: ti-ads7950: Drop "ti-" prefix from module name
authorDavid Lechner <david@lechnology.com>
Wed, 11 Jan 2017 17:52:50 +0000 (11:52 -0600)
committerJonathan Cameron <jic23@kernel.org>
Sun, 15 Jan 2017 13:52:51 +0000 (13:52 +0000)
commit2b84f4ded44c77ead4e6e0abbb85e053c3dff5aa
treed2db1a407ff96e7ca1af2807020c3e046d3f0f01
parent0287c8d24bd70dc4f2d07829cfc1839deca76416
iio: adc: ti-ads7950: Drop "ti-" prefix from module name

This drops the "ti-" prefix from the module name. It makes the module name
consistent with other iio ti-ads* drivers and it makes the driver work
with device tree (the spi subsystem drops the "ti," prefix when matching
compatible strings from device tree).

Tested working on LEGO MINDSTORMS EV3 with the following device tree node:

adc@3 {
compatible = "ti,ads7957";
reg = <3>;
#io-channel-cells = <1>;
spi-max-frequency = <10000000>;
vref-supply = <&adc_ref>;
};

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ti-ads7950.c