From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751873AbdJTNwk (ORCPT ); Fri, 20 Oct 2017 09:52:40 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35736 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751093AbdJTNwj (ORCPT ); Fri, 20 Oct 2017 09:52:39 -0400 Date: Fri, 20 Oct 2017 15:52:46 +0200 From: Greg KH To: Srinivas Kandagatla Cc: linux-kernel@vger.kernel.org, Masahiro Yamada Subject: Re: [PATCH 05/12] nvmem: set nvmem->owner to nvmem->dev->driver->owner if unset Message-ID: <20171020135246.GA20327@kroah.com> References: <20171009132641.27169-1-srinivas.kandagatla@linaro.org> <20171009132641.27169-6-srinivas.kandagatla@linaro.org> <20171020133847.GA19940@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.kandagatla@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 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 > > > Signed-off-by: Srinivas Kandagatla > > > > Patch does not apply :( > > > Hmm.. I did base it on char-misc last time when I sent it.. > > Will rebase it and resend it! Probably because I didn't take the previous patches in this series...