From b452d7b69d8ee1df6eb00005c0ea62cb774917c3 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Fri, 4 Jul 2014 22:24:08 +0200 Subject: [PATCH] mfd: max77686: Return correct error when pdata isn't found When platform data is not found an -EIO (I/O error) code is returned. This doesn't seem to be the correct error so better return -EINVAL (Invalid argument) which is what most drivers do in this case. Signed-off-by: Javier Martinez Canillas Signed-off-by: Lee Jones --- Reading git-format-patch failed