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:
Jean-Jacques Hiblot <jjhiblot@ti.com>
Loading
Please register or sign in to comment