On Mon, Oct 09, 2017 at 03:26:34PM +0200, srinivas.kandagatla@xxxxxxxxxx wrote:Hmm.. I did base it on char-misc last time when I sent it..
From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
All nvmem drivers are supposed to set the owner field of struct
nvmem_config, but this matches nvmem->dev->driver->owner.
As far as I see in drivers/nvmem/ directory, all the drivers are
the case. So, make nvmem_register() set the nvmem's owner to the
associated driver's owner unless nvmem_config sets otherwise.
Remove .owner settings in the drivers that are now redundant.
Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
Patch does not apply :(