Re: [PATCH v2 07/16] nvmem: change the signature of nvmem_unregister()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 07/09/18 11:07, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

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@xxxxxxxxxxxx>
---
  drivers/nvmem/core.c           | 8 ++------
  include/linux/nvmem-provider.h | 9 +++------
  2 files changed, 5 insertions(+), 12 deletions(-)



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux