isp1704_charger: Fix missing check
isp1704_charger: Fix missing check

A segfault happens if there's no board information.

Signed-off-by: Felipe Contreras <de77a8b9cd239b204c19c52ed62e48ab47243362@gmail.com>
Acked-by: Heikki Krogerus <ee57eeaf1ea77f5b6061a0d2bdf5330badd28a40@gmail.com>
Signed-off-by: Anton Vorontsov <1d765a3da7f714ffaadb979466c507aa3415181f@gmail.com>

TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas