From: Wolfram Sang Date: Thu, 17 Apr 2014 08:57:18 +0000 (+0200) Subject: can: c_can: use proper type for 'instance' X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~39^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f323d7a1d2868c00b2604dca36ad82e8ecbe4270;p=pandora-kernel.git can: c_can: use proper type for 'instance' Commit 6439fbce1075 (can: c_can: fix error checking of priv->instance in probe()) found the warning but applied a suboptimal solution. Since, both pdev->id and of_alias_get_id() return integers, it makes sense to convert the variable to an integer and avoid the cast. Signed-off-by: Wolfram Sang Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed