ARM: i.MX31: remove rnga registration as a platform device
authorVladimir Zapolskiy <vz@mleia.com>
Tue, 3 Jul 2018 19:29:32 +0000 (22:29 +0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Jul 2018 12:23:18 +0000 (20:23 +0800)
commit08a213c24f3ec2dbd6e790582a6e7ff303f02fd4
treef33e959652bfce61faa03a4f4d3c7e9485ff831e
parent1a1f919eb52ea1e63e135a478c5762b3d8b0935b
ARM: i.MX31: remove rnga registration as a platform device

On i.MX31 powered boards with OF support Security Random Number
Generator Accelerator RNGA controller is initialized from device tree,
its registration as a platform device is redundant and actually it is
broken due to missing clock information:

  mxc_rnga mxc_rnga: Could not get rng_clk!
  mxc_rnga: probe of mxc_rnga failed with error -2

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/imx31-dt.c