[PATCH openEuler-22.03-LTS-SP1 v2 240/370] mfd: sm501: Add check for platform_driver_register()