- return -ENOMEM instead of -1 - return the result of platform_driver_register Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>