mfd: ab8500-core improved error handling in get_chip_id
We check for dev before dereferencing it. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Showing
Please register or sign in to comment