imxfb: use resource_size() macro
commitd6b515028863a912d051d371b6d71e09f2a9ff19
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 29 Jun 2009 09:41:09 +0000 (29 11:41 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 7 Aug 2009 10:10:56 +0000 (7 12:10 +0200)
treef7baf3e3dab59cb6c1353b8a9b3bbd92ee933485
parentf497d0153a6b53b4cfd004de5f10b14bf630d852
imxfb: use resource_size() macro

This fixes an off-by-one error. Also, use dev_err instead of printk
in probe() function.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/video/imxfb.c