[PATCH 5.7 172/477] drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish