diff options
author | 周琰杰 (Zhou Yanjie) <[email protected]> | 2020-07-23 14:12:59 +0800 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2020-07-24 16:45:13 +0300 |
commit | 6e5478aeb3184cb37035550f82527b27c064eef9 (patch) | |
tree | 2852adc7cfa964ac22afe5362134892e387d8880 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 4afd6fe4a3e331952e133a5fd01e9ad5377fdd1d (diff) |
USB: PHY: JZ4770: Unify code style and simplify code.
1.Modify the macro definition to unify "#define USBPCR_XXXX n"
into the "#define USBPCR_XXXX (n << USBPCR_XXXX_LSB)" style,
so as to unify the code style in the "jz4770_phy_init()" and
simplify the code.
2.Remove unused macro definitions to simplify the code.
Tested-by: 周正 (Zhou Zheng) <[email protected]>
Suggested-by: Paul Cercueil <[email protected]>
Signed-off-by: 周琰杰 (Zhou Yanjie) <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions