Fix crash due to NULL pointer access in max1111 driver