[PATCH 4.19 153/229] mfd: sm501: Add check for platform_driver_register()