From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH 00/14] ARM: davinci: step towards removing at24_platform_data Date: Mon, 25 Jun 2018 20:02:37 +0200 Message-ID: <20180625180237.GC17417@lunn.ch> References: <20180625155025.12567-1-brgl@bgdev.pl> <20180625174024.GB17417@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sekhar Nori , Kevin Hilman , Russell King , Grygorii Strashko , "David S . Miller" , Srinivas Kandagatla , Lukas Wunner , Rob Herring , Florian Fainelli , Dan Carpenter , Ivan Khoronzhuk , David Lechner , Greg Kroah-Hartman , Linux ARM , Linux Kernel Mailing List , linux-omap@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski To: Bartosz Golaszewski Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org > With my patch 1/14 you'll get -EPROBE_DEFER from nvmem_cell_get() if > the nvmem provider is not yet registered. Will that help in your case? I don't think so. My driver instantiates the AT24 device. So if i get -EPROBE_DEFER, i need to cleanup the probe, and return -EPROBDE_DEFER to the code. Which means i need to remove the AT24 device... Andrew