mbox series

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

Message ID 20230519161119.287268-1-martin@kaiser.cx
Headers show
Series hwrng: imx-rngc - two simple cleanups | expand

Message

Martin Kaiser May 19, 2023, 4:11 p.m. UTC
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(-)

Comments

Herbert Xu May 24, 2023, 10:14 a.m. UTC | #1
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.