]> git.dujemihanovic.xyz Git - u-boot.git/commit
arch/powerpc/lib/board.c: make (mostly) checkpatch-clean
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:07 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:09:31 +0000 (22:09 +0100)
commit9b998b0c52c3227aa54b486294c85e840c8b7120
treee15c03ed98b5d6b110671d43b653c5630e8d8507
parent93067497527a2828c0c2b0c8dd7c498241d75d79
arch/powerpc/lib/board.c: make (mostly) checkpatch-clean

CodingStyle cleanup.

Accepted (in this cleanup) checkpatch messages:

- externs should be avoided
  (to be cleaned up later)
- no spaces at the start of a line
  (accepted in multi-line #if's)
- Macros with complex values
  (false reports)
- do not use assignment in if condition
  (accepted in one place, where avoiding it would have required an
  additional level of nesting, resulting in less readable code)

Signed-off-by: Wolfgang Denk <wd@denx.de>
arch/powerpc/lib/board.c