[PATCH 4.9 114/159] mfd: sm501: Add check for platform_driver_register()