[PATCH kernel-4.19 41/57] extcon: Fix error handling in extcon_dev_register