Re: [PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset

2017-10-20 Thread Greg KH
On Fri, Oct 20, 2017 at 02:44:51PM +0100, Srinivas Kandagatla wrote: > > > On 20/10/17 14:38, Greg KH wrote: > > On Mon, Oct 09, 2017 at 03:26:34PM +0200, srinivas.kandaga...@linaro.org > > wrote: > > > From: Masahiro Yamada > > > > > > All nvmem drivers are

Re: [PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset

2017-10-20 Thread Greg KH
On Fri, Oct 20, 2017 at 02:44:51PM +0100, Srinivas Kandagatla wrote: > > > On 20/10/17 14:38, Greg KH wrote: > > On Mon, Oct 09, 2017 at 03:26:34PM +0200, srinivas.kandaga...@linaro.org > > wrote: > > > From: Masahiro Yamada > > > > > > All nvmem drivers are supposed to set the owner field of

Re: [PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset

2017-10-20 Thread Srinivas Kandagatla
On 20/10/17 14:38, Greg KH wrote: On Mon, Oct 09, 2017 at 03:26:34PM +0200, srinivas.kandaga...@linaro.org wrote: From: Masahiro Yamada All nvmem drivers are supposed to set the owner field of struct nvmem_config, but this matches nvmem->dev->driver->owner.

Re: [PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset

2017-10-20 Thread Srinivas Kandagatla
On 20/10/17 14:38, Greg KH wrote: On Mon, Oct 09, 2017 at 03:26:34PM +0200, srinivas.kandaga...@linaro.org wrote: From: Masahiro Yamada 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

Re: [PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset

2017-10-20 Thread Greg KH
On Mon, Oct 09, 2017 at 03:26:34PM +0200, srinivas.kandaga...@linaro.org wrote: > From: Masahiro Yamada > > 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

Re: [PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset

2017-10-20 Thread Greg KH
On Mon, Oct 09, 2017 at 03:26:34PM +0200, srinivas.kandaga...@linaro.org wrote: > From: Masahiro Yamada > > 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

[PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset

2017-10-09 Thread srinivas . kandagatla
From: Masahiro Yamada 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

[PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset

2017-10-09 Thread srinivas . kandagatla
From: Masahiro Yamada 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