Re: [PATCH 2/2] staging: greybus: uart: convert to XArray
From: Greg Kroah-Hartman
Date: Wed Feb 25 2026 - 13:47:53 EST
On Thu, Feb 26, 2026 at 12:08:36AM +0530, Shubham Chakraborty wrote:
> Replace the deprecated IDR API with the more modern XArray API.
> This simplifies the code and improves efficiency.
>
> Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@xxxxxxxxx>
> ---
> drivers/staging/greybus/uart.c | 20 ++++++++++++--------
> 1 file changed, 12 insertions(+), 8 deletions(-)
This really isn't needed, sorry, it doesn't improve any "efficiency" and
I think I've rejected this change in the past as well.
It's just a simple minor number, an idr is just fine for it.
thanks,
greg k-h