| Subject | Re: [PATCH v2 07/16] nvmem: change the signature of nvmem_unregister() | From | Srinivas Kandagatla <> | Date | Mon, 10 Sep 2018 08:33:26 +0100 |
| |
On 07/09/18 11:07, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bgolaszewski@baylibre.com> > > This function can no longer fail and there are no more users that check > it return value. Change it to return void.
This should be either part of Kref patch or it should state that refcount handling is impoved in Kref patch so there is no need of returning error code from unregister.
> > Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> > --- > drivers/nvmem/core.c | 8 ++------ > include/linux/nvmem-provider.h | 9 +++------ > 2 files changed, 5 insertions(+), 12 deletions(-)
|