Re: [PATCH v3 2/4] mmc: sdhci-of-dwcmshc: unify the naming of soc helper functions

From: Chen Wang
Date: Mon Jun 17 2024 - 20:13:43 EST



On 2024/6/14 18:18, Adrian Hunter wrote:
On 13/06/24 04:42, Chen Wang wrote:
From: Chen Wang <unicorn_wang@xxxxxxxxxxx>

Continue another patch: "mmc: sdhci-of-dwcmshc: adjust positions
of helper routines".

The helper functions at the dwcmshc level are all prefixed with
"dwcmshc_", which is easier to identify, while the functions at
the soc level are more confusing. Now they are uniformly prefixed
with the soc type string, such as "rk35xx_", "th1520_", etc.
This does not seem to be necessary.

Unnecessarily churning the code makes backports more difficult and
complicates the code history, so it should be avoided in general.

Accepted.

[......]