iio: adis: Remove startup_delay
All timeouts are now handled by a dedicated timeout struct. This variable is no longer needed. Signed-off-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
380b107bbf
commit
77038bd01c
|
@ -247,7 +247,6 @@ static const struct adis_data adis16201_data = {
|
|||
|
||||
.self_test_mask = ADIS16201_MSC_CTRL_SELF_TEST_EN,
|
||||
.self_test_no_autoclear = true,
|
||||
.startup_delay = ADIS16201_STARTUP_DELAY_MS,
|
||||
.timeouts = &adis16201_timeouts,
|
||||
|
||||
.status_error_msgs = adis16201_status_error_msgs,
|
||||
|
|
|
@ -257,7 +257,6 @@ static const struct adis_data adis16209_data = {
|
|||
|
||||
.self_test_mask = ADIS16209_MSC_CTRL_SELF_TEST_EN,
|
||||
.self_test_no_autoclear = true,
|
||||
.startup_delay = ADIS16209_STARTUP_DELAY_MS,
|
||||
.timeouts = &adis16209_timeouts,
|
||||
|
||||
.status_error_msgs = adis16209_status_error_msgs,
|
||||
|
|
|
@ -472,7 +472,6 @@ static const struct adis_data adis16136_data = {
|
|||
.msc_ctrl_reg = ADIS16136_REG_MSC_CTRL,
|
||||
|
||||
.self_test_mask = ADIS16136_MSC_CTRL_SELF_TEST,
|
||||
.startup_delay = 80,
|
||||
|
||||
.read_delay = 10,
|
||||
.write_delay = 10,
|
||||
|
|
|
@ -346,7 +346,6 @@ static const struct adis_data adis16260_data = {
|
|||
.diag_stat_reg = ADIS16260_DIAG_STAT,
|
||||
|
||||
.self_test_mask = ADIS16260_MSC_CTRL_MEM_TEST,
|
||||
.startup_delay = ADIS16260_STARTUP_DELAY,
|
||||
.timeouts = &adis16260_timeouts,
|
||||
|
||||
.status_error_msgs = adis1620_status_error_msgs,
|
||||
|
|
|
@ -1126,7 +1126,6 @@ static const struct adis_data adis16400_data = {
|
|||
.write_delay = 50,
|
||||
|
||||
.self_test_mask = ADIS16400_MSC_CTRL_MEM_TEST,
|
||||
.startup_delay = ADIS16400_STARTUP_DELAY,
|
||||
|
||||
.status_error_msgs = adis16400_status_error_msgs,
|
||||
.status_error_mask = BIT(ADIS16400_DIAG_STAT_ZACCL_FAIL) |
|
||||
|
|
|
@ -251,7 +251,6 @@ static const struct adis_data adis16203_data = {
|
|||
|
||||
.self_test_mask = ADIS16203_MSC_CTRL_SELF_TEST_EN,
|
||||
.self_test_no_autoclear = true,
|
||||
.startup_delay = ADIS16203_STARTUP_DELAY,
|
||||
.timeouts = &adis16203_timeouts,
|
||||
|
||||
.status_error_msgs = adis16203_status_error_msgs,
|
||||
|
|
|
@ -374,7 +374,6 @@ static const struct adis_data adis16240_data = {
|
|||
|
||||
.self_test_mask = ADIS16240_MSC_CTRL_SELF_TEST_EN,
|
||||
.self_test_no_autoclear = true,
|
||||
.startup_delay = ADIS16240_STARTUP_DELAY,
|
||||
.timeouts = &adis16240_timeouts,
|
||||
|
||||
.status_error_msgs = adis16240_status_error_msgs,
|
||||
|
|
|
@ -56,7 +56,6 @@ struct adis_data {
|
|||
|
||||
unsigned int self_test_mask;
|
||||
bool self_test_no_autoclear;
|
||||
unsigned int startup_delay;
|
||||
const struct adis_timeout *timeouts;
|
||||
|
||||
const char * const *status_error_msgs;
|
||||
|
|
Loading…
Reference in New Issue