Re: [PATCH v2 07/16] nvmem: change the signature of nvmem_unregister()
From: Srinivas Kandagatla <hidden>
Date: 2018-09-10 07:33:31
Also in:
linux-arm-kernel, lkml
From: Srinivas Kandagatla <hidden>
Date: 2018-09-10 07:33:31
Also in:
linux-arm-kernel, lkml
On 07/09/18 11:07, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <redacted> 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 <redacted> --- drivers/nvmem/core.c | 8 ++------ include/linux/nvmem-provider.h | 9 +++------ 2 files changed, 5 insertions(+), 12 deletions(-)