diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-09-14 10:17:01 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-09-16 10:38:56 -0700 |
commit | 30df23c5ecdfb8da5b0bc17ceef67eff9e1b0957 (patch) | |
tree | c6c88799984e818861c142b8c0879983e43acca0 /block/blk-cgroup.c | |
parent | 93f634069707cfe562c38739f5062feccbe9a834 (diff) |
Input: imx6ul_tsc - clean up some errors in imx6ul_tsc_resume()
If imx6ul_tsc_init() fails then we need to clean up the clocks.
I reversed the "if (input_dev->users) {" condition to make the code a
bit simpler.
Fixes: 6cc527b05847 ("Input: imx6ul_tsc - propagate the errors")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200905124942.GC183976@mwanda
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions