From: Javier Martinez Canillas Date: Fri, 4 Jul 2014 20:24:08 +0000 (+0200) Subject: mfd: max77686: Return correct error when pdata isn't found X-Git-Tag: cleanup-for-v3.18~88^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b452d7b69d8ee1df6eb00005c0ea62cb774917c3;p=pandora-kernel.git 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-diff-tree failed