[PATCH 0/2] hwrng: imx-rngc - two simple cleanups

Martin Kaiser posted 2 patches 2 years, 8 months ago
drivers/char/hw_random/imx-rngc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH 0/2] hwrng: imx-rngc - two simple cleanups
Posted by Martin Kaiser 2 years, 8 months ago
Here's two more simple cleanups for imx-rngc. We can drop .data = NULL in the
imx_rngc_dt_ids. And the probe function can be marked as __init as we don't
support hotplugging.

Martin Kaiser (2):
  hwrng: imx-rngc - mark the probe function as __init
  hwrng: imx-rngc - don't init of_device_id's data

 drivers/char/hw_random/imx-rngc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.30.2
Re: [PATCH 0/2] hwrng: imx-rngc - two simple cleanups
Posted by Herbert Xu 2 years, 8 months ago
On Fri, May 19, 2023 at 06:11:17PM +0200, Martin Kaiser wrote:
> Here's two more simple cleanups for imx-rngc. We can drop .data = NULL in the
> imx_rngc_dt_ids. And the probe function can be marked as __init as we don't
> support hotplugging.
> 
> Martin Kaiser (2):
>   hwrng: imx-rngc - mark the probe function as __init
>   hwrng: imx-rngc - don't init of_device_id's data
> 
>  drivers/char/hw_random/imx-rngc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> -- 
> 2.30.2

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt