w100fb: fix regression with uninitalized fb_info->mm_lock mutex
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 7 Jul 2009 17:24:54 +0000 (19:24 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Jul 2009 16:19:49 +0000 (09:19 -0700)
commitf1b9c339bf30c90114b7c8f285d25e67c7080f90
tree8ffded592903f2581fcbc3ad22c2c7552d9d1f21
parentfeaa61e49b126c2206051a234b8f14ccc75b9f61
w100fb: fix regression with uninitalized fb_info->mm_lock mutex

Remove redundant call to the w100fb_set_par() before w100 frambuffer is
registered.

This fixes a problem with uninitialized the fb_info->mm_lock mutex
introduced by the commit 537a1bf059f " fbdev: add mutex for fb_mmap
locking"

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/w100fb.c