Skip to content
Commit 6e5478ae authored by 周琰杰 (Zhou Yanjie)'s avatar 周琰杰 (Zhou Yanjie) Committed by Felipe Balbi
Browse files

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: default avatar周正 (Zhou Zheng) <sernia.zhou@foxmail.com>
Suggested-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatar周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 4afd6fe4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment