# Re: \[PATCH v4 3/9\] nvmem: core: add nvmem\_device\_find

- From: Srinivas Kandagatla \<hidden\>
- Date: 2019-08-13 09:40:40 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2019/08/5685975
- Thread: https://ratatoskr.run/linux-mips/2019/08/5682889/t.md

```text


On 09/08/2019 11:32, Thomas Bogendoerfer wrote:
> nvmem_device_find provides a way to search for nvmem devices with
> the help of a match function simlair to bus_find_device.
>
> Signed-off-by: Thomas Bogendoerfer <redacted>
> ---
>   drivers/nvmem/core.c           | 62 ++++++++++++++++++++++--------------------
>   include/linux/nvmem-consumer.h |  9 ++++++
>   2 files changed, 41 insertions(+), 30 deletions(-)

Have you considered using nvmem_register_notifier() ?


--srini
```
