diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2021-12-16 13:57:45 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-12-28 17:21:14 +0100 |
commit | 4fe54318496004593b2072a724ce26f7abc29778 (patch) | |
tree | 27b98e5577fe43aaf76187869b417d9fb7a4c7f0 /net/unix/sysctl_net_unix.c | |
parent | ffaea6ebfe9ce06ebb3a54811a47688f2b0893cd (diff) | |
download | linux-4fe54318496004593b2072a724ce26f7abc29778.tar.gz linux-4fe54318496004593b2072a724ce26f7abc29778.tar.bz2 linux-4fe54318496004593b2072a724ce26f7abc29778.zip |
mmc: mtk-sd: Use BIT() and GENMASK() macros to describe fields
Register fields are currently represented with open-coded bit
shifting: replace all occurrences of that to make use of kernel
provided macros BIT and GENMASK to increase human readability.
This patch provides no functional change.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211216125748.179602-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions