From: Axel Lin Date: Thu, 6 May 2010 03:33:36 +0000 (+0800) Subject: mc13783-regulator: fix vaild voltage range checking for mc13783_fixed_regulator_set_v... X-Git-Tag: v2.6.35-rc1~268^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dcc434b52ff25416b225f6ac229fc775867303a;p=pandora-kernel.git mc13783-regulator: fix vaild voltage range checking for mc13783_fixed_regulator_set_voltage In the case of "min_uV == max_uV == mc13783_regulators[id].voltages[0]", mc13783_fixed_regulator_set_voltage should return 0 instead of -EINVAL. This patch also adds a missing ">" character for MODULE_AUTHOR, a trivial fix. Signed-off-by: Axel Lin Cc: Mark Brown Cc: Liam Girdwood Acked-by: Sascha Hauer Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed