]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: isch: Use string_choices API instead of ternary operator
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Sep 2024 12:01:29 +0000 (15:01 +0300)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 13 Nov 2024 22:29:45 +0000 (23:29 +0100)
commit4b91878d9206f8ca9f6d08ee13c4bbcf2c459f54
treebdcc28cdfdf61831651237dfa0084c57a169db5c
parent3fe09719a06b0dd69e9b971152d2424196e48ef0
i2c: isch: Use string_choices API instead of ternary operator

Use modern string_choices API instead of manually determining the
output using ternary operator.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-isch.c