]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
nvmem: meson-efuse: remove econfig global
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 11 May 2018 11:06:59 +0000 (12:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 14:20:48 +0000 (16:20 +0200)
commit401488d121a4ec9dc3fd9637591cf0f3577c8ec2
treeaf0c928caf27da73ed5e8c12b4bcf6e1bcd26666
parent3b51f47be171b30ad9e031ab5006c14551a8c2a3
nvmem: meson-efuse: remove econfig global

Having a global structure holding a reference to the device
structure is not very nice. Allocate the econfig instead and fill
the nvmem information as before

Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/meson-efuse.c