[ARM] pxafb: small cleanup of the smart panel code
authorEric Miao <eric.miao@marvell.com>
Thu, 4 Dec 2008 03:14:11 +0000 (11:14 +0800)
committerEric Miao <eric.miao@marvell.com>
Wed, 17 Dec 2008 14:50:30 +0000 (22:50 +0800)
commit07df1c4fea1474ae6db2c8554d2915cf5cf81369
tree429846c4fa999a7b32ce37f48eebc21d2efa78c9
parent09e647d30d0d8feff0aee77bd17342fbc79a3bf8
[ARM] pxafb: small cleanup of the smart panel code

Group smart panel related code in a more compact fasion, avoid abused
usage of #ifdef .. #endif.

Also fix the incorrect condition in pxafb_smart_init() to decide if it
is a smart panel or not. (should be '&' instead of '|')

Signed-off-by: Eric Miao <eric.miao@marvell.com>
drivers/video/pxafb.c