Hi Egil, Egil Hjelmeland <pri...@egil-hjelmeland.no> writes:
>>> + val = LAN9303_BM_EGRSS_PORT_TYPE_SPECIAL_TAG_PORT0; >>> + return lan9303_write_switch_reg(chip, >>> LAN9303_BM_EGRSS_PORT_TYPE, val); >> Specific reason to use val then using >> LAN9303_BM_EGRSS_PORT_TYPE_SPECIAL_TAG_PORT0 >> like previous line? >> > Specific reason was to please a reviewer that did not like my > indenting in first version. I did not agree with him, but since > nobody else spoke up, I changed the code. Your indentation was broken and did not respect the Kernel Coding Style. Using a temporary variable here ensures you respect both the 80-char limit and the vertical alignment on opening parenthesis. You'd like to use ./scripts/checkpatch.pl before submitting patches. Thanks, Vivien