projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9913319
)
vmlfb: use list_move() instead of list_del()/list_add() combination
author
Kirill A. Shutemov
<kirill@shutemov.name>
Tue, 15 Mar 2011 22:53:19 +0000
(22:53 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 22 Mar 2011 06:13:38 +0000
(15:13 +0900)
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/vermilion/vermilion.c
patch
|
blob
|
history
diff --git
a/drivers/video/vermilion/vermilion.c
b/drivers/video/vermilion/vermilion.c
index
931a567
..
970e43d
100644
(file)
--- a/
drivers/video/vermilion/vermilion.c
+++ b/
drivers/video/vermilion/vermilion.c
@@
-891,8
+891,7
@@
static int vmlfb_set_par(struct fb_info *info)
int ret;
mutex_lock(&vml_mutex);
- list_del(&vinfo->head);
- list_add(&vinfo->head, (subsys) ? &global_has_mode : &global_no_mode);
+ list_move(&vinfo->head, (subsys) ? &global_has_mode : &global_no_mode);
ret = vmlfb_set_par_locked(vinfo);
mutex_unlock(&vml_mutex);