Satish Nagireddy 7b8751ed20 i2c: cadence: Unregister the clk notifier in error path
[ Upstream commit 3501f0c663063513ad604fb1b3f06af637d3396d ]

This patch ensures that the clock notifier is unregistered
when driver probe is returning error.

Fixes: df8eb5691c48 ("i2c: Add driver for Cadence I2C controller")
Signed-off-by: Satish Nagireddy <satish.nagireddy@getcruise.com>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-07-12 16:26:25 +02:00
..
2019-06-22 08:17:18 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2020-10-14 09:48:13 +02:00
2021-05-22 10:40:27 +02:00
2014-11-07 18:35:33 +01:00
2021-09-22 11:43:01 +02:00
2014-11-07 18:35:33 +01:00
2021-05-22 10:40:27 +02:00
2021-09-22 11:43:02 +02:00
2014-11-07 18:35:33 +01:00
2015-08-10 08:37:28 +02:00
2019-10-05 12:30:36 +02:00
2021-09-22 11:43:01 +02:00
2021-05-22 10:40:27 +02:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2022-04-20 09:06:35 +02:00
2016-10-25 11:48:59 +02:00
2022-03-08 19:00:57 +01:00
2014-12-14 16:10:09 -08:00