]> git.sur5r.net Git - u-boot/commit
serial: zynq: Use BIT macros instead of shifts and full hex numbers
authorMichal Simek <michal.simek@xilinx.com>
Thu, 14 Jun 2018 09:13:41 +0000 (11:13 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jun 2018 06:54:05 +0000 (08:54 +0200)
commitc9a2c47b91b0334e7c7f5aaa0421ba7d751edbef
treefb392a4499ad2e54d57166aa89e828485e4e4a3c
parent01fcf01e8194d65985da4432f53394bfcb98cbfe
serial: zynq: Use BIT macros instead of shifts and full hex numbers

Coding style is checking to use BIT macros instead of shifts.
The patch is also fixing the rest of macros which should be BITs instead
of hex numbers.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_zynq.c