Messages in this thread | | | Subject | Re: [PATCH] regulator: wm8994: Don't use devres for enable GPIOs | From | Marek Szyprowski <> | Date | Wed, 21 Nov 2018 13:24:04 +0100 |
| |
Hi Mark,
On 2018-11-21 13:19, Mark Brown wrote: > On Wed, Nov 21, 2018 at 10:26:30AM +0100, Marek Szyprowski wrote: > >> from wm8994_ldo_remove(), switched to regulator_register() in >> wm8994_ldo_probe() and added regulator_unregister() in >> wm8994_ldo_remove(). This way the warning is gone. If there is any > I don't understand why you'd need to switch to regulator_register()?
I mixed a few things. This was just a first version of my experiments, which worked without the warning. In the final solution it was not needed, see https://lkml.org/lkml/2018/11/21/542
Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland
| |