summaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>2023-06-01 13:08:11 +0200
committerLee Jones <lee@kernel.org>2023-06-09 07:43:30 +0100
commit4c58b6d906dc99554f1767c574b68ce8e133fcbb (patch)
tree6594f82d7ce5ffa227994ef84ad41c8bac306620 /rust/helpers.c
parent9bef14141f2b912345280ba10e6e8318d0bb054b (diff)
downloadlwn-4c58b6d906dc99554f1767c574b68ce8e133fcbb.tar.gz
lwn-4c58b6d906dc99554f1767c574b68ce8e133fcbb.zip
leds: leds-mt6323: Open code and drop MT6323_CAL_HW_DUTY macro
There is only one instance of using this macro and it's anyway not simplifying the flow, or increasing the readability of this driver. Drop this macro by open coding it in mt6323_led_set_blink(). No functional changes. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230601110813.2373764-7-angelogioacchino.delregno@collabora.com
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions