Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6c63cefe authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Harshit Jain
Browse files

BACKPORT: zcomp: Use ARRAY_SIZE() for backends list



Instead of keeping NULL terminated array switch to use ARRAY_SIZE()
which helps to further clean up.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarMinchan Kim <minchan@kernel.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: http://lkml.kernel.org/r/20200508100758.51644-1-andriy.shevchenko@linux.intel.com


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>

Change-Id: Ie21e77b081a2c261370848749b83e75c3c5d67d8
Signed-off-by: default avatarUtsavBalar1231 <utsavbalar1231@gmail.com>
parent a3f75746
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment