[PATCH v2] ARM: tegra: expose chip ID and revision

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Mar 12 08:16:13 EDT 2013


On Tue, Mar 12, 2013 at 08:01:07PM +0800, Danny Huang wrote:
> +	if (IS_ERR_OR_NULL(soc_dev))

Sigh.  NAK.  Fur cryin out loud!  Use the IS_ERR() version.

And you don't need the following "return;" statement - that's already
implied at the closing brace of a function.



More information about the linux-arm-kernel mailing list