From: Alexander Shiyan Date: Fri, 14 Mar 2014 08:46:20 +0000 (+0400) Subject: can: mcp251x: Fix regulators operation without CONFIG_REGULATOR X-Git-Tag: v3.15-rc1~113^2~128^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76aeec83e448478838eec868066dda33049d1288;p=pandora-kernel.git can: mcp251x: Fix regulators operation without CONFIG_REGULATOR If CONFIG_REGULATOR is not set, devm_regulator_get() returns NULL, so use IS_ERR_OR_NULL() macro for checks. Signed-off-by: Alexander Shiyan Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed