Skip to content
Commit 4e184298 authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Tom Rini
Browse files

drivers: phy: Handle gracefully NULL pointers



For some controllers PHYs can be optional. Handling NULL pointers without
crashing nor failing, makes it easy to handle optional PHYs.

Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
parent 2ad98ab8
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