[Linux-stable-mirror] [PATCH 3.18 04/38] extcon: palmas: Check the parent instance to prevent the NULL