When there's only one device, use an on-stack buffer to store the device pointers in order to avoid dynamic memory allocation from this hot path. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>