diff options
| author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-09-21 06:40:16 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-28 15:14:54 +0200 |
| commit | e888d445ac33a5b0288d670ecd970908b13f07cd (patch) | |
| tree | 1c56d79c6ad7bb201b8f49277daf5e2ef1dd3b9a /scripts/stackusage | |
| parent | nvmem: add support for cell info (diff) | |
| download | linux-e888d445ac33a5b0288d670ecd970908b13f07cd.tar.gz linux-e888d445ac33a5b0288d670ecd970908b13f07cd.zip | |
nvmem: resolve cells from DT at registration time
Currently we're creating a new cell structure everytime a DT user
calls nvmem_cell_get().
Change this behavior by resolving the cells during nvmem provider
registration and adding all cells to the provider's list. Make
of_nvmem_cell_get() just parse the phandle and look the cell up
in the relevant provider's list.
Don't drop the cell in nvmem_cell_put().
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
