[PATCH 6.7 254/353] extcon: fix possible name leak in extcon_dev_register()