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