mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
ec9d0cf578
commit
6bce7bf1a1
1 changed files with 6 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue