Merge "hwmon: epm_adc: Update generic request command"

This commit is contained in:
Linux Build Service Account 2014-11-03 02:35:05 -08:00 committed by Gerrit - the friendly Code Review server
commit 23f756a493

View file

@ -168,12 +168,6 @@ static int epm_psoc_generic_request(struct epm_adc_drv *epm_adc,
t.len = sizeof(tx_buf);
t.bits_per_word = EPM_ADC_SPI_BITS_PER_WORD;
rc = spi_sync(epm_adc->epm_spi_client, &m);
if (rc)
return rc;
memset(tx_buf, 0, sizeof(tx_buf));
rc = spi_sync(epm_adc->epm_spi_client, &m);
if (rc)
return rc;