diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2018-08-23 13:47:30 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-09-17 21:39:02 -0500 |
commit | eb146fac9685513ce23e57cf691da75e6c796d79 (patch) | |
tree | 2af386b568911c9c9694388e259c7bd1ba9884ee /hw/xive.c | |
parent | 1317448ddd1a872e93a6f421ba5cd5d9b3b6ea7a (diff) | |
download | skiboot-eb146fac9685513ce23e57cf691da75e6c796d79.zip skiboot-eb146fac9685513ce23e57cf691da75e6c796d79.tar.gz skiboot-eb146fac9685513ce23e57cf691da75e6c796d79.tar.bz2 |
core/i2c: Move the timeout field into i2c_request
Currently to set a per-request timeout you need to use
i2c_req_set_timeout() which is a wrapper for a per-bus method that sets the
actual timeout. This design doesn't make a whole lot of sense, so move
the timeout field into the generic i2c_request structure and set the
timeout to be set using that.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/xive.c')
0 files changed, 0 insertions, 0 deletions