[PATCH 2/2] pinctrl: bcm2835: Use string_choices API instead of ternary operator
Florian Fainelli
florian.fainelli at broadcom.com
Tue Jun 4 00:28:45 PDT 2024
On 6/3/2024 8:19 PM, Stefan Wahren wrote:
> Use modern string_choices API instead of manually determining the
> output using ternary operator.
>
> Suggested-by: Andy Shevchenko <andy.shevchenko at gmail.com>
> Signed-off-by: Stefan Wahren <wahrenst at gmx.net>
LGTM but sometimes I really wonder to what degree should we invent a
helper function...
Acked-by: Florian Fainelli <florian.fainelli at broadcom.com>
--
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240604/465c1aaf/attachment.p7s>
More information about the linux-arm-kernel
mailing list