-
由 Christophe JAILLET 提交于
Return -ENOMEM in case of memory allocation failure. This avoids a NULL pointer dereference. Fixes: c6983166 ("extcon: cros-ec: Add extcon-cros-ec driver to support display out") Signed-off-by: NChristophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
1cf76c4e