On Wed, 19 Feb 2025 10:42:02 +0800, xiaopeitux@xxxxxxxxxxx wrote: > cocci warnings: > drivers/leds/leds-st1202.c:194:66-71: WARNING: conversion to bool not > needed here. > > st1202_led_set function now uses the !! operator to convert the > enum led_brightness value to a boolean active state, which is then > passed to the st1202_channel_set function. This change maintains the > existing functionality. > > [...] Applied, thanks! [1/1] leds: Refactor st1202_led_set to use !! operator for boolean conversion commit: 2f372a5dce6885f1d2647f7add01756bee0fef49 -- Lee Jones [李琼斯]