lib/idr.c: document that ida_simple_{get,remove}() are deprecated
authorStephen Boyd <swboyd@chromium.org>
Fri, 16 Oct 2020 03:11:21 +0000 (20:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Oct 2020 18:11:20 +0000 (11:11 -0700)
commit3264ceec8f17a99a3895de7de06b4d7e9c8f3f30
treeb4efc6eb8d29d8616607d32e35fe1d42f287648a
parent3b6742618ed9216dd6caad968fe8c83b32dff485
lib/idr.c: document that ida_simple_{get,remove}() are deprecated

These two functions are deprecated.  Users should call ida_alloc() or
ida_free() respectively instead.  Add documentation to this effect until
the macro can be removed.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Tri Vo <trong@android.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Matthew Wilcox <willy@infradead.org>
Link: https://lkml.kernel.org/r/20200910055246.2297797-2-swboyd@chromium.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/idr.h