commit | 9e3440d2d57b459cd12c5a4d15e95a1181568e4f | [log] [tgz] |
---|---|---|
author | Raag Jadav <raag.jadav@intel.com> | Mon Feb 19 09:08:35 2024 +0530 |
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Mon Feb 26 11:14:46 2024 +0100 |
tree | 7ca5ffbe54636722ea27c16b9312f08da15df906 | |
parent | ebf2c89eb95ec9598da19184632b765de72a7db4 [diff] |
pwm: dwc: simplify error handling Simplify error handling in ->probe() function using dev_err_probe() helper and while at it, drop error codes from the message to prevent duplication. Signed-off-by: Raag Jadav <raag.jadav@intel.com> Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Link: https://lore.kernel.org/r/20240219033835.11369-5-raag.jadav@intel.com Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>