Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f11c556 authored by Yeleswarapu Nagaradhesh's avatar Yeleswarapu Nagaradhesh Committed by Gerrit - the friendly Code Review server
Browse files

regmap: correct NULL pointer access



dev_get_regmap can return NULL and hence map can be NULL.
So check if map is a valid pointer before accessing.

Change-Id: Ied358e0fed551bf0b96e6cd2e0b44ebde990621f
Signed-off-by: default avatarYeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
parent 32829884
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment