[PATCH OLK-5.10 240/370] mfd: sm501: Add check for platform_driver_register()