hwrng: imx-rngc - mark the probe function as __init
authorMartin Kaiser <martin@kaiser.cx>
Fri, 19 May 2023 16:11:18 +0000 (18:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 24 May 2023 10:12:33 +0000 (18:12 +0800)
commitac2cc2406e5d3b5898392dfc5e67db3af3ddfcf8
tree70af249ce8a04390b24f4d2e3725d4d1b494dffd
parent44777807fbf2cbb0c5a6c049f382b428302e5200
hwrng: imx-rngc - mark the probe function as __init

Mark the imx_rngc_probe function as __init.

There's no need to support hotplugging in the imx-rngc driver. We use
module_platform_driver_probe, the probe function will only be called at
startup.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/imx-rngc.c