[PATCH v2 13/16] nvmem: add support for cell lookups from machine code
From: Bartosz Golaszewski <hidden>
Date: 2018-09-10 09:45:52
Also in:
linux-doc, lkml
From: Bartosz Golaszewski <hidden>
Date: 2018-09-10 09:45:52
Also in:
linux-doc, lkml
2018-09-10 10:55 GMT+02:00 Srinivas Kandagatla [off-list ref]:
On 10/09/18 09:23, Boris Brezillon wrote:quoted
Well, if we get rid of nvmem-machine.h, the cell-lookup stuff should go in nvmem-consumer.h not nvmem-provider.h. On the other hand, everything that is related to cell creation should be placed in nvmem-provider.h.Yes, this is how it should be!
Any actual reason for not putting these definitions into a separate 'machine' header? This approach is currently used by gpio, pinctrl, iio and regulator framework because most systems use either DT or ACPI and don't need to pull in any stuff aimed at board files. Bart