]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ec2736cb2f3761186818c4d1d5dd12b6d1f313d
treef33e959652bfce61faa03a4f4d3c7e9485ff831e
parent58f5b5c4464ea4c34dbcf4e7ba358d6ffac4a1b2
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