Commit 729f77bbe515455ac474e6a4a3709858a01ef3da
Committed by
Linus Torvalds
1 parent
3efbb987c1
Exists in
master
and in
7 other branches
blackfin: remove __FUNCTION__ in video driver
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
drivers/video/bfin-t350mcqb-fb.c
... | ... | @@ -255,7 +255,7 @@ |
255 | 255 | { |
256 | 256 | |
257 | 257 | if (var->bits_per_pixel != LCD_BPP) { |
258 | - pr_debug("%s: depth not supported: %u BPP\n", __FUNCTION__, | |
258 | + pr_debug("%s: depth not supported: %u BPP\n", __func__, | |
259 | 259 | var->bits_per_pixel); |
260 | 260 | return -EINVAL; |
261 | 261 | } |
... | ... | @@ -264,7 +264,7 @@ |
264 | 264 | info->var.xres_virtual != var->xres_virtual || |
265 | 265 | info->var.yres_virtual != var->yres_virtual) { |
266 | 266 | pr_debug("%s: Resolution not supported: X%u x Y%u \n", |
267 | - __FUNCTION__, var->xres, var->yres); | |
267 | + __func__, var->xres, var->yres); | |
268 | 268 | return -EINVAL; |
269 | 269 | } |
270 | 270 | |
... | ... | @@ -274,7 +274,7 @@ |
274 | 274 | |
275 | 275 | if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { |
276 | 276 | pr_debug("%s: Memory Limit requested yres_virtual = %u\n", |
277 | - __FUNCTION__, var->yres_virtual); | |
277 | + __func__, var->yres_virtual); | |
278 | 278 | return -ENOMEM; |
279 | 279 | } |
280 | 280 |