Dan Carpenter 30df23c5ec 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>
2020-09-16 10:38:56 -07:00
..
2019-07-15 09:42:32 -07:00
2018-06-24 15:20:12 -07:00
2019-07-15 09:42:32 -07:00
2020-07-07 11:25:54 -07:00
2020-02-10 10:00:22 -08:00
2020-07-07 11:25:54 -07:00
2020-05-17 21:10:28 -07:00
2020-07-07 11:25:54 -07:00