Re: [PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset
From: Greg KH
Date: Fri Oct 20 2017 - 09:38:44 EST
On Mon, Oct 09, 2017 at 03:26:34PM +0200, srinivas.kandagatla@xxxxxxxxxx wrote:
> 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 :(