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: NSascha Hauer <s.hauer@pengutronix.de>
Showing
想要评论请 注册 或 登录
This fixes an off-by-one error. Also, use dev_err instead of printk
in probe() function.
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>