]> git.sur5r.net Git - u-boot/commit
spi: Fix style violation and improve code
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Jan 2018 10:08:35 +0000 (11:08 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 24 Jan 2018 06:34:07 +0000 (12:04 +0530)
commit547bcc3d18ddcc107b8aa7ca393830590c27978f
tree29f4441013ce209db23b38cea001a36d86d268cc
parent13129064161c1e90cb6f9e53c9501dc98a1f3c2e
spi: Fix style violation and improve code

This patch fixes a printf specifier style violation, reduces the scope
of a variable, and turns a void pointer that is used with pointer
arithmetic into a u8 pointer.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/spi.c