Skip to content

ASoC: loongson: Simplify code formatting

Binbin Zhou linux-sound loongarch 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ASoC: loongson: Use BIT() macrosound/soc/loongson/loongson_dma.c sound/soc/loongson/loongson_i2s.h+17 -170 replies
2/8ASoC: loongson: Simplify probe() with local dev variablesound/soc/loongson/loongson_card.c sound/soc/loongson/loongson_i2s_pci.c+24 -230 replies
3/8ASoC: loongson: Simplify with dev_err_probe()sound/soc/loongson/loongson_card.c sound/soc/loongson/loongson_i2s_pci.c+21 -352 replies
4/8ASoC: loongson: Simplify if statment in loongson_card_hw_params()sound/soc/loongson/loongson_card.c+16 -160 replies
5/8ASoC: loongson: Simplify of_node_put() referencesound/soc/loongson/loongson_card.c+9 -120 replies
6/8ASoC: loongson: Replace if with ternary operatorsound/soc/loongson/loongson_i2s.c+10 -141 reply
7/8ASoC: loongson: Factor out loongson_card_acpi_find_device() functionsound/soc/loongson/loongson_card.c+31 -240 replies
8/8ASoC: loongson: Factor out loongson i2s enable clock functionssound/soc/loongson/loongson_i2s.c+47 -390 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/8] ASoC: loongson: Simplify code formatting

Hi all:

This patchset attempts to improve code readability by simplifying code formatting.
No functional changes.

Original link:
https://lore.kernel.org/all/c54fbc2582702689c005e1ba528ab2318b1adde6.1725518229.git.zhoubinbin@loongson.cn/

Thanks.

Binbin Zhou (8):
ASoC: loongson: Use BIT() macro
ASoC: loongson: Simplify probe() with local dev variable
ASoC: loongson: Simplify with dev_err_probe()
ASoC: loongson: Simplify if statment in loongson_card_hw_params()
ASoC: loongson: Simplify of_node_put() reference
ASoC: loongson: Replace if with ternary operator
ASoC: loongson: Factor out loongson_card_acpi_find_device() function
ASoC: loongson: Factor out loongson i2s enable clock functions

 sound/soc/loongson/loongson_card.c    | 142 +++++++++++++-------------
 sound/soc/loongson/loongson_dma.c     |  10 +-
 sound/soc/loongson/loongson_i2s.c     | 110 ++++++++++----------
 sound/soc/loongson/loongson_i2s.h     |  24 ++---
 sound/soc/loongson/loongson_i2s_pci.c |  51 ++++-----
 5 files changed, 166 insertions(+), 171 deletions(-)
Signature · 1 line
2.43.5