mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-27 13:00:25 +09:00
[ Upstream commit3501f0c663] This patch ensures that the clock notifier is unregistered when driver probe is returning error. Fixes:df8eb5691c("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>