summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-bcm-kona.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2016-08-03 15:03:08 +0300
committerWolfram Sang <wsa@the-dreams.de>2016-08-15 01:55:31 +0300
commit8d263be8716da67bd8746e266c1934cb9c9933cc (patch)
treebd21fe2aa1306986ca438dfe783043b93db243c8 /drivers/i2c/busses/i2c-bcm-kona.c
parent434f14e745442a4230a40cf47f84deac1028f64f (diff)
downloadlinux-8d263be8716da67bd8746e266c1934cb9c9933cc.tar.xz
i2c: bcm-iproc: Use complete() instead of complete_all()
There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). The usage pattern of the completion is: bcm_iproc_i2c_xfer_single_msg() reinit_completion() ... (activate the transfer) ... wait_for_completion_timeout() Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de> Acked-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-bcm-kona.c')
0 files changed, 0 insertions, 0 deletions