From: Paul Walmsley Date: Sun, 23 Sep 2012 23:28:27 +0000 (-0600) Subject: hwrng: OMAP: remove SoC restrictions from driver registration X-Git-Tag: omap-devel-late-for-v3.7^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe47c58ba82c967729c76869a5f10a94c38754f3;p=pandora-kernel.git hwrng: OMAP: remove SoC restrictions from driver registration Remove the SoC restriction code from the OMAP RNG driver. The integration code in arch/arm/*omap* should handle this. The device shouldn't be created if it doesn't exist on the currently-booted SoC. This allows us to remove some OMAP-specific cpu_is_omap*() calls from the driver. Also, if other OMAP chips have RNGs that can be used by Linux, there will be no need to modify the driver. Signed-off-by: Paul Walmsley Cc: Matt Mackall Cc: Herbert Xu Acked-by: Herbert Xu --- Reading git-diff-tree failed