include: zephyr: net: Add NULL checks for phy API calls

Add missing NULL checks to the APIs in phy.h

Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
1 file changed