From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew@lunn.ch (Andrew Lunn) Date: Mon, 25 Jun 2018 20:02:37 +0200 Subject: [PATCH 00/14] ARM: davinci: step towards removing at24_platform_data In-Reply-To: References: <20180625155025.12567-1-brgl@bgdev.pl> <20180625174024.GB17417@lunn.ch> Message-ID: <20180625180237.GC17417@lunn.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.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