Commit 954bd170 authored by Nishanth Aravamudan's avatar Nishanth Aravamudan Committed by Greg Kroah-Hartman

[PATCH] I2C: i2c-algo-pcf: replace schedule_timeout() with msleep()

Remove pcf_sleep() and replace invocations with msleep().
Signed-off-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent cdd050a1
...@@ -101,12 +101,6 @@ static int wait_for_bb(struct i2c_algo_pcf_data *adap) { ...@@ -101,12 +101,6 @@ static int wait_for_bb(struct i2c_algo_pcf_data *adap) {
} }
static inline void pcf_sleep(unsigned long timeout)
{
schedule_timeout( timeout * HZ);
}
static int wait_for_pin(struct i2c_algo_pcf_data *adap, int *status) { static int wait_for_pin(struct i2c_algo_pcf_data *adap, int *status) {
int timeout = DEF_TIMEOUT; int timeout = DEF_TIMEOUT;
......
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