From: Axel Lin Date: Fri, 30 Aug 2013 12:08:42 +0000 (+0800) Subject: regulator: da9063: Use IS_ERR to check return value of regulator_register() X-Git-Tag: v3.12-rc1~191^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e515800b74e80c8d507d52e4703b00138daf75b2;p=pandora-kernel.git regulator: da9063: Use IS_ERR to check return value of regulator_register() regulator_register() does not return NULL, it returns ERR_PTR on error. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed