nvmem: Fix read/write access to partition devices
Partition devices are not directly associated with the nvmem instance but via
their master cdev. Thus reading and writing needs to be handled via the
master.

Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 945d9a1 commit 1c27d11de850da52ce2899ae57cc1e411bc97917
@Stefan Riedmueller Stefan Riedmueller authored on 27 Sep 2019
Sascha Hauer committed on 14 Oct 2019
Showing 1 changed file
View
drivers/nvmem/core.c