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

Commit d925acdc authored by Sarangdhar Joshi's avatar Sarangdhar Joshi
Browse files

coresight: remove NULL check from drivers



Remove NULL checks for pdev->dev.of_node from CoreSight drivers
altogether. It is safe to remove this NULL check since all the
of_* family of functions used within CoreSight drivers internally
call __of_find_property() which checks for this NULL pointer
anyway.

Change-Id: I7696c596c11d6fc2a0397fb2a1ccfc0bfbffcd52
Signed-off-by: default avatarSarangdhar Joshi <spjoshi@codeaurora.org>
parent 494ca1d5
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