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

Commit 7364b4a2 authored by Girish Mahadevan's avatar Girish Mahadevan
Browse files

platform: msm: msm_bus: Exit module init if misc register fails



If the misc_register fails to register the char device then handle
this case gracefully and exit else there will be a bad dereference
during the later part of the module init.

Change-Id: I7587ae236fba5ed65d336772369d1bf91bbc425c
Signed-off-by: default avatarGirish Mahadevan <girishm@codeaurora.org>
parent 84a40fce
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