diff options
author | Jesse Gilles <jgilles@multitech.com> | 2014-07-02 14:53:12 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2014-07-02 14:53:12 -0500 |
commit | 19a9fd0f6bb179fce8061b3080e93f94a37eeabe (patch) | |
tree | f958c38dc575b7475f91c6a982d07ed2d6b08842 /io-module/spi.c | |
parent | 1eafb3c3bb1e76ef2dc10382f9880c70be64157c (diff) | |
download | mts-io-19a9fd0f6bb179fce8061b3080e93f94a37eeabe.tar.gz mts-io-19a9fd0f6bb179fce8061b3080e93f94a37eeabe.tar.bz2 mts-io-19a9fd0f6bb179fce8061b3080e93f94a37eeabe.zip |
more accssory card renaming
Diffstat (limited to 'io-module/spi.c')
-rw-r--r-- | io-module/spi.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/io-module/spi.c b/io-module/spi.c index 2da3f05..74d81d2 100644 --- a/io-module/spi.c +++ b/io-module/spi.c @@ -599,8 +599,8 @@ static int mts_spi_dc_dout_probe(struct spi_device *spi) { int tmp; - if (! has_daughter_card || mts_dc_product_id != MTDC_GPIOB_0_0) { - log_error("daughter card digital outputs not available"); + if (! has_accessory_card || mts_dc_product_id != MTDC_GPIOB_0_0) { + log_error("accessory card digital outputs not available"); return -ENODEV; } @@ -645,8 +645,8 @@ static int mts_spi_dc_din_probe(struct spi_device *spi) { int tmp; - if (! has_daughter_card || mts_dc_product_id != MTDC_GPIOB_0_0) { - log_error("daughter card digital inputs not available"); + if (! has_accessory_card || mts_dc_product_id != MTDC_GPIOB_0_0) { + log_error("accessory card digital inputs not available"); return -ENODEV; } @@ -657,7 +657,7 @@ static int mts_spi_dc_din_probe(struct spi_device *spi) tmp = spi_setup(spi); if (tmp < 0) { - log_error("spi_setup daughter card din failed"); + log_error("spi_setup accessory card din failed"); return tmp; } @@ -688,8 +688,8 @@ static int mts_spi_dc_adc_probe(struct spi_device *spi) { int tmp; - if (! has_daughter_card || mts_dc_product_id != MTDC_GPIOB_0_0) { - log_error("daughter card analog to digital not available"); + if (! has_accessory_card || mts_dc_product_id != MTDC_GPIOB_0_0) { + log_error("accessory card analog to digital not available"); return -ENODEV; } @@ -701,7 +701,7 @@ static int mts_spi_dc_adc_probe(struct spi_device *spi) tmp = spi_setup(spi); if (tmp < 0) { - log_error("spi_setup daughter card adc failed"); + log_error("spi_setup accessory card adc failed"); return tmp; } |