[PATCH 5.4 121/314] drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish