diff options
author | Joe Perches <joe@perches.com> | 2013-09-19 21:35:55 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-10-29 06:53:07 -0400 |
commit | 31b6780c15a4e3a90fe260e977f5186772ce7afb (patch) | |
tree | 9147371d1b0f5b6dbf1806a7af125552a67fbc3b /drivers/video/svgalib.c | |
parent | f51a07d05c5142e73f781d878f411d63d3548a49 (diff) |
framebuffer: Use fb_<level>
Neaten and shorten the code using the new fb_<level> macros.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/svgalib.c')
-rw-r--r-- | drivers/video/svgalib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/svgalib.c b/drivers/video/svgalib.c index 33df9ec91795..9e01322fabe3 100644 --- a/drivers/video/svgalib.c +++ b/drivers/video/svgalib.c | |||
@@ -198,8 +198,8 @@ void svga_settile(struct fb_info *info, struct fb_tilemap *map) | |||
198 | 198 | ||
199 | if ((map->width != 8) || (map->height != 16) || | 199 | if ((map->width != 8) || (map->height != 16) || |
200 | (map->depth != 1) || (map->length != 256)) { | 200 | (map->depth != 1) || (map->length != 256)) { |
201 | printk(KERN_ERR "fb%d: unsupported font parameters: width %d, height %d, depth %d, length %d\n", | 201 | fb_err(info, "unsupported font parameters: width %d, height %d, depth %d, length %d\n", |
202 | info->node, map->width, map->height, map->depth, map->length); | 202 | map->width, map->height, map->depth, map->length); |
203 | return; | 203 | return; |
204 | } | 204 | } |
205 | 205 | ||