Commit 77038bd0 authored by Nuno Sá's avatar Nuno Sá Committed by Jonathan Cameron

iio: adis: Remove startup_delay

All timeouts are now handled by a dedicated timeout struct. This
variable is no longer needed.
Signed-off-by: default avatarNuno Sá <nuno.sa@analog.com>
Signed-off-by: default avatarAlexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 380b107b
...@@ -247,7 +247,6 @@ static const struct adis_data adis16201_data = { ...@@ -247,7 +247,6 @@ static const struct adis_data adis16201_data = {
.self_test_mask = ADIS16201_MSC_CTRL_SELF_TEST_EN, .self_test_mask = ADIS16201_MSC_CTRL_SELF_TEST_EN,
.self_test_no_autoclear = true, .self_test_no_autoclear = true,
.startup_delay = ADIS16201_STARTUP_DELAY_MS,
.timeouts = &adis16201_timeouts, .timeouts = &adis16201_timeouts,
.status_error_msgs = adis16201_status_error_msgs, .status_error_msgs = adis16201_status_error_msgs,
......
...@@ -257,7 +257,6 @@ static const struct adis_data adis16209_data = { ...@@ -257,7 +257,6 @@ static const struct adis_data adis16209_data = {
.self_test_mask = ADIS16209_MSC_CTRL_SELF_TEST_EN, .self_test_mask = ADIS16209_MSC_CTRL_SELF_TEST_EN,
.self_test_no_autoclear = true, .self_test_no_autoclear = true,
.startup_delay = ADIS16209_STARTUP_DELAY_MS,
.timeouts = &adis16209_timeouts, .timeouts = &adis16209_timeouts,
.status_error_msgs = adis16209_status_error_msgs, .status_error_msgs = adis16209_status_error_msgs,
......
...@@ -472,7 +472,6 @@ static const struct adis_data adis16136_data = { ...@@ -472,7 +472,6 @@ static const struct adis_data adis16136_data = {
.msc_ctrl_reg = ADIS16136_REG_MSC_CTRL, .msc_ctrl_reg = ADIS16136_REG_MSC_CTRL,
.self_test_mask = ADIS16136_MSC_CTRL_SELF_TEST, .self_test_mask = ADIS16136_MSC_CTRL_SELF_TEST,
.startup_delay = 80,
.read_delay = 10, .read_delay = 10,
.write_delay = 10, .write_delay = 10,
......
...@@ -346,7 +346,6 @@ static const struct adis_data adis16260_data = { ...@@ -346,7 +346,6 @@ static const struct adis_data adis16260_data = {
.diag_stat_reg = ADIS16260_DIAG_STAT, .diag_stat_reg = ADIS16260_DIAG_STAT,
.self_test_mask = ADIS16260_MSC_CTRL_MEM_TEST, .self_test_mask = ADIS16260_MSC_CTRL_MEM_TEST,
.startup_delay = ADIS16260_STARTUP_DELAY,
.timeouts = &adis16260_timeouts, .timeouts = &adis16260_timeouts,
.status_error_msgs = adis1620_status_error_msgs, .status_error_msgs = adis1620_status_error_msgs,
......
...@@ -1126,7 +1126,6 @@ static const struct adis_data adis16400_data = { ...@@ -1126,7 +1126,6 @@ static const struct adis_data adis16400_data = {
.write_delay = 50, .write_delay = 50,
.self_test_mask = ADIS16400_MSC_CTRL_MEM_TEST, .self_test_mask = ADIS16400_MSC_CTRL_MEM_TEST,
.startup_delay = ADIS16400_STARTUP_DELAY,
.status_error_msgs = adis16400_status_error_msgs, .status_error_msgs = adis16400_status_error_msgs,
.status_error_mask = BIT(ADIS16400_DIAG_STAT_ZACCL_FAIL) | .status_error_mask = BIT(ADIS16400_DIAG_STAT_ZACCL_FAIL) |
......
...@@ -251,7 +251,6 @@ static const struct adis_data adis16203_data = { ...@@ -251,7 +251,6 @@ static const struct adis_data adis16203_data = {
.self_test_mask = ADIS16203_MSC_CTRL_SELF_TEST_EN, .self_test_mask = ADIS16203_MSC_CTRL_SELF_TEST_EN,
.self_test_no_autoclear = true, .self_test_no_autoclear = true,
.startup_delay = ADIS16203_STARTUP_DELAY,
.timeouts = &adis16203_timeouts, .timeouts = &adis16203_timeouts,
.status_error_msgs = adis16203_status_error_msgs, .status_error_msgs = adis16203_status_error_msgs,
......
...@@ -374,7 +374,6 @@ static const struct adis_data adis16240_data = { ...@@ -374,7 +374,6 @@ static const struct adis_data adis16240_data = {
.self_test_mask = ADIS16240_MSC_CTRL_SELF_TEST_EN, .self_test_mask = ADIS16240_MSC_CTRL_SELF_TEST_EN,
.self_test_no_autoclear = true, .self_test_no_autoclear = true,
.startup_delay = ADIS16240_STARTUP_DELAY,
.timeouts = &adis16240_timeouts, .timeouts = &adis16240_timeouts,
.status_error_msgs = adis16240_status_error_msgs, .status_error_msgs = adis16240_status_error_msgs,
......
...@@ -56,7 +56,6 @@ struct adis_data { ...@@ -56,7 +56,6 @@ struct adis_data {
unsigned int self_test_mask; unsigned int self_test_mask;
bool self_test_no_autoclear; bool self_test_no_autoclear;
unsigned int startup_delay;
const struct adis_timeout *timeouts; const struct adis_timeout *timeouts;
const char * const *status_error_msgs; const char * const *status_error_msgs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment