devfs_add_partition was changed to return the cdev. Fix the result checking accordingly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>