nvmem: meson-mx-efuse: Remove nvmem_device from efuse struct
authorMukesh Ojha <quic_mojha@quicinc.com>
Tue, 30 Apr 2024 08:49:21 +0000 (09:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 May 2024 05:26:39 +0000 (07:26 +0200)
commit2a1ad6b75292d38aa2f6ded7335979e0632521da
tree3f14fb93cd841afef3f8374f6fd076800d6e45e6
parenta5888ae5b3c33a8b339989e13b5e8ea2f927bcc4
nvmem: meson-mx-efuse: Remove nvmem_device from efuse struct

nvmem_device is used at one place while registering nvmem
device and it is not required to be present in efuse struct
for just this purpose.

Drop nvmem_device and manage with nvmem device stack variable.

Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240430084921.33387-12-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/meson-mx-efuse.c