i2c: qup: Fix pm_runtime_get_sync usage
authorAndy Gross <agross@codeaurora.org>
Sat, 3 May 2014 01:54:29 +0000 (20:54 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 14 May 2014 16:14:49 +0000 (18:14 +0200)
commitfa01d096bfcfd89398b1f3a3f91805dab76f7fe5
tree50d1a95aa4e788e0c135b6044721d923c692b778
parentce78cc071f5f541480e381cc0241d37590041a9d
i2c: qup: Fix pm_runtime_get_sync usage

This patch corrects the error check on the call to pm_runtime_get_sync.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Reviewed-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-qup.c