Re: [PATCH v1 1/9] mfd: Add core driver for Nuvoton NCT6694

From: Marc Kleine-Budde
Date: Fri Oct 25 2024 - 05:03:38 EST


On 25.10.2024 10:35:35, Marc Kleine-Budde wrote:
> > Excuse me, I'm a bit confused. Is there anything I need to
> > improve on?
>
> It looks racy to _first_ add the devices and _then_ the workqueue.
>
> So the obvious solution is to allocate the worklist first and then add
workqueue
> the devices.

Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |

Attachment: signature.asc
Description: PGP signature