extcon: intel-mrfld: Don't shadow error from devm_extcon_dev_allocate()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Feb 2024 07:42:01 +0000 (16:42 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 8 May 2024 16:03:38 +0000 (01:03 +0900)
commitb1a8804f532a67843e78e0fa37703947d13a68ba
tree6d31173a2e441a2353e9d5dcee316569946d440f
parentb1781d0a1458070d40134e4f3412ec9d70099bec
extcon: intel-mrfld: Don't shadow error from devm_extcon_dev_allocate()

Don't shadow error from devm_extcon_dev_allocate() and return it as is.

Link: https://lore.kernel.org/lkml/20231222161854.2955859-1-andriy.shevchenko@linux.intel.com/
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-intel-mrfld.c