i2c: i801: Replace waitqueue with completion API
Using the completion API is more intuitive and it allows to simplify the code. Note that we don't have to set priv->status = 0 any longer with the completion API. Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com> Reviewed-by: NJean Delvare <jdelvare@suse.de> Tested-by: NJean Delvare <jdelvare@suse.de> Reviewed-by: NDaniel Kurtz <djkurtz@chromium.org> Signed-off-by: NWolfram Sang <wsa@kernel.org>
Showing
想要评论请 注册 或 登录